mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-28 04:12:41 +00:00
13 lines
282 B
Docker
13 lines
282 B
Docker
FROM golang:1.4.2-cross
|
|
|
|
COPY . /usr/src/app/src/resin-supervisor
|
|
|
|
ENV GOOS linux
|
|
ENV GOPATH /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
# Run go install with -a (force rebuilding of all packages)
|
|
# and -v (print package names as they are built)
|
|
CMD go test ./... && go install -a -v ./...
|