mirror of https://github.com/daffainfo/nuclei.git
9 lines
296 B
Docker
9 lines
296 B
Docker
FROM golang:1.19.4-alpine as build-env
|
|
RUN apk add build-base
|
|
RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest
|
|
|
|
FROM alpine:3.17.1
|
|
RUN apk add --no-cache bind-tools ca-certificates chromium
|
|
COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei
|
|
ENTRYPOINT ["nuclei"]
|