Add must-have tools to Docker image

Adds ca-certificates and bind-tools to Alpine final image.
dev
Juan Calderon-Perez 2021-03-14 00:56:11 -05:00 committed by GitHub
parent bbac3dbd2e
commit 648d94da56
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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
FROM alpine:latest
RUN apk add --no-cache bind-tools ca-certificates
COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei
ENTRYPOINT ["nuclei"]