mirror of
https://github.com/securego/gosec.git
synced 2024-12-24 03:25:53 +00:00
Set the GOROOT and GOPATH env variables in Dockerfile
This commit is contained in:
parent
247828cfa5
commit
ec0f8ec9d6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue