mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2025-02-07 11:50:27 +00:00
15 lines
329 B
Docker
15 lines
329 B
Docker
FROM golang:1.4.2-cross
|
|
|
|
ENV GOOS linux
|
|
ENV GOPATH /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . src/resin-supervisor
|
|
|
|
RUN chmod +x src/resin-supervisor/build_gosuper.sh
|
|
|
|
# Run go install with -a (force rebuilding of all packages)
|
|
# and -v (print package names as they are built)
|
|
CMD cd ./src/resin-supervisor && ./build_gosuper.sh
|