build(docker): use tagged image rather than latest

dev
Rui Chen 2021-09-09 00:49:33 -04:00
parent 4c4d8ef28f
commit dd422e18d3
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
FROM golang:1.17.0-alpine as build-env
RUN GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
FROM alpine:latest
FROM alpine:3.14
RUN apk add --no-cache bind-tools ca-certificates
COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei
ENTRYPOINT ["nuclei"]