15 lines
389 B
Docker
15 lines
389 B
Docker
# Build Container
|
|
FROM golang:1.13.4-alpine3.10 AS build-env
|
|
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
|
|
|
|
# Cache the dependencies early
|
|
COPY Gopkg.toml Gopkg.lock ./
|
|
RUN dep ensure -vendor-only -v
|
|
|
|
# Install
|
|
RUN go get -u github.com/projectdiscovery/subfinder/cmd/subfinder
|
|
|
|
ENTRYPOINT ["subfinder"]
|