mirror of
https://github.com/securego/gosec.git
synced 2025-02-07 13:07:56 +02:00
Set the GOROOT and GOPATH env variables in Dockerfile
This commit is contained in:
parent
247828cfa5
commit
ec0f8ec9d6
@ -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…
x
Reference in New Issue
Block a user