mirror of https://github.com/daffainfo/nuclei.git
Add must-have tools to Docker image
Adds ca-certificates and bind-tools to Alpine final image.dev
parent
bbac3dbd2e
commit
648d94da56
|
@ -2,5 +2,6 @@ FROM golang:1.16.0-alpine as build-env
|
||||||
RUN GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
|
RUN GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
|
||||||
|
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
|
RUN apk add --no-cache bind-tools ca-certificates
|
||||||
COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei
|
COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei
|
||||||
ENTRYPOINT ["nuclei"]
|
ENTRYPOINT ["nuclei"]
|
||||||
|
|
Loading…
Reference in New Issue