mirror of
https://github.com/balena-os/balena-supervisor.git
synced 2024-12-24 07:46:41 +00:00
9bc2f6212d
* gosuper in dockerignored folder * correctly handle app not found in purge * test formatting in test-gosuper * Fix test-gosuper * DRY up test-integration
16 lines
414 B
Docker
16 lines
414 B
Docker
FROM golang:1.4.2-cross
|
|
|
|
ENV GOOS linux
|
|
ENV GOPATH /usr/src/app
|
|
|
|
WORKDIR /usr/src/app
|
|
|
|
COPY . src/resin-supervisor/gosuper
|
|
|
|
RUN chmod +x src/resin-supervisor/gosuper/build_gosuper.sh
|
|
RUN chmod +x src/resin-supervisor/gosuper/test_formatting.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/gosuper && ./build_gosuper.sh
|