subfinder/Dockerfile

11 lines
397 B
Docker

# Build Container
FROM golang:1.13.4-alpine3.10 AS build-env
MAINTAINER Ice3man (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"]