parent
0395e339d5
commit
9bb752afe3
|
@ -1,6 +1,11 @@
|
|||
FROM golang:1.16.0-alpine AS build-env
|
||||
# Build
|
||||
FROM golang:1.16-alpine AS build-env
|
||||
RUN GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/v2/cmd/subfinder
|
||||
|
||||
FROM alpine:latest
|
||||
# Release
|
||||
FROM alpine:3.13
|
||||
RUN apk -U upgrade --no-cache \
|
||||
&& apk add --no-cache bind-tools ca-certificates
|
||||
COPY --from=build-env /go/bin/subfinder /usr/local/bin/subfinder
|
||||
|
||||
ENTRYPOINT ["subfinder"]
|
||||
|
|
Loading…
Reference in New Issue