Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor Dockerfile #245

Merged
merged 8 commits into from
Sep 26, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
no need for GOROOT in Dockerfile
The correct value is embedded in the go tool.

Signed-off-by: Andrew Hsu <andrewhsu@docker.com>
  • Loading branch information
andrewhsu committed Sep 25, 2018
commit a81f33848d0b84acaf63cb8988d20acf6e28bed2
1 change: 0 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
FROM golang:1.10.3-alpine3.8

ENV BIN=gosec
ENV GOROOT=/usr/local/go

COPY $BIN /go/bin/$BIN
COPY docker-entrypoint.sh /usr/local/bin
Expand Down