From df0c4e2361d076cf6a56d26e5b4cc03404f5e3b4 Mon Sep 17 00:00:00 2001 From: mzack Date: Sun, 26 Sep 2021 07:56:54 +0200 Subject: [PATCH] updating dockerfile to support headless with alpine --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7a7431ac..2ba73cfd 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM golang:1.17.1-alpine as build-env -RUN GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei +RUN go install -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei@latest FROM alpine:3.14 -RUN apk add --no-cache bind-tools ca-certificates +RUN apk add --no-cache bind-tools ca-certificates chromium COPY --from=build-env /go/bin/nuclei /usr/local/bin/nuclei ENTRYPOINT ["nuclei"]