2018-07-14 00:27:33 +00:00
|
|
|
# Build Container
|
2019-12-05 11:19:11 +00:00
|
|
|
FROM golang:1.13.4-alpine3.10 AS build-env
|
2021-02-18 20:36:17 +00:00
|
|
|
LABEL Subfinder (nizamul@projectdiscovery.io)
|
2018-07-14 00:27:33 +00:00
|
|
|
RUN apk add --no-cache --upgrade git openssh-client ca-certificates
|
2020-12-21 20:06:57 +00:00
|
|
|
RUN go get -v github.com/golang/dep/cmd/dep
|
2020-12-21 19:21:44 +00:00
|
|
|
RUN GO111MODULE=on go get -v github.com/projectdiscovery/v2/cmd/subfinder
|
2018-04-17 06:20:04 +00:00
|
|
|
|
2020-10-15 22:27:33 +00:00
|
|
|
FROM alpine:latest
|
|
|
|
COPY --from=build-env /go/bin/subfinder /usr/local/bin/
|
2019-02-26 09:16:47 +00:00
|
|
|
ENTRYPOINT ["subfinder"]
|