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
|
2019-12-06 11:19:03 +00:00
|
|
|
MAINTAINER Ice3man (nizamul@projectdiscovery.io)
|
2018-07-14 00:27:33 +00:00
|
|
|
RUN apk add --no-cache --upgrade git openssh-client ca-certificates
|
|
|
|
RUN go get -u github.com/golang/dep/cmd/dep
|
|
|
|
WORKDIR /go/src/app
|
2018-04-17 06:20:04 +00:00
|
|
|
|
2018-07-14 00:27:33 +00:00
|
|
|
# Cache the dependencies early
|
|
|
|
COPY Gopkg.toml Gopkg.lock ./
|
|
|
|
RUN dep ensure -vendor-only -v
|
2018-04-17 06:20:04 +00:00
|
|
|
|
2019-02-26 09:16:47 +00:00
|
|
|
# Install
|
2019-12-05 11:19:11 +00:00
|
|
|
RUN go get -u github.com/projectdiscovery/subfinder/cmd/subfinder
|
2018-04-17 06:20:04 +00:00
|
|
|
|
2019-02-26 09:16:47 +00:00
|
|
|
ENTRYPOINT ["subfinder"]
|