Skip to content

Commit

Permalink
Set the GOROOT and GOPATH env variables in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ccojocar committed Aug 21, 2018
1 parent 247828c commit ec0f8ec
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
@@ -1,6 +1,8 @@
FROM golang:1.10.3-alpine3.8

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

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

0 comments on commit ec0f8ec

Please sign in to comment.