11 lines
394 B
Docker
11 lines
394 B
Docker
# Build Container
|
|
FROM golang:1.13.4-alpine3.10 AS build-env
|
|
LABEL Subfinder (nizamul@projectdiscovery.io)
|
|
RUN apk add --no-cache --upgrade git openssh-client ca-certificates
|
|
RUN go get -v github.com/golang/dep/cmd/dep
|
|
RUN GO111MODULE=on go get -v github.com/projectdiscovery/v2/cmd/subfinder
|
|
|
|
FROM alpine:latest
|
|
COPY --from=build-env /go/bin/subfinder /usr/local/bin/
|
|
ENTRYPOINT ["subfinder"]
|