mirror of
https://github.com/securego/gosec.git
synced 2024-12-28 21:08:22 +02:00
Use the make build goal when creeating the docker image
This commit is contained in:
parent
f06a84ebaa
commit
dbd0f8f511
@ -2,7 +2,7 @@ FROM golang:1.9.4-alpine3.7
|
||||
|
||||
ENV BIN=gosec
|
||||
|
||||
COPY dist/linux_amd64/$BIN /go/bin/$BIN
|
||||
COPY $BIN /go/bin/$BIN
|
||||
COPY docker-entrypoint.sh /usr/local/bin
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
Loading…
Reference in New Issue
Block a user