mirror of
https://github.com/securego/gosec.git
synced 2025-11-27 22:28:20 +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
|
FROM golang:1.10.3-alpine3.8
|
||||||
|
|
||||||
ENV BIN=gosec
|
ENV BIN=gosec
|
||||||
|
ENV GOROOT=/usr/local/go
|
||||||
|
ENV GOPATH=/go
|
||||||
|
|
||||||
COPY $BIN /go/bin/$BIN
|
COPY $BIN /go/bin/$BIN
|
||||||
COPY docker-entrypoint.sh /usr/local/bin
|
COPY docker-entrypoint.sh /usr/local/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user