mirror of
https://github.com/securego/gosec.git
synced 2025-07-15 01:04:43 +02:00
Set the GOROOT and GOPATH env variables in Dockerfile
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user