mirror of
https://github.com/projectdiscovery/subfinder
synced 2026-06-21 14:05:24 +00:00
cd7e987372
Bumps golang from 1.20.4-alpine to 1.20.5-alpine. --- updated-dependencies: - dependency-name: golang dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
16 lines
356 B
Docker
16 lines
356 B
Docker
# Build
|
|
FROM golang:1.20.5-alpine AS build-env
|
|
RUN apk add build-base
|
|
WORKDIR /app
|
|
COPY . /app
|
|
WORKDIR /app/v2
|
|
RUN go mod download
|
|
RUN go build ./cmd/subfinder
|
|
|
|
# Release
|
|
FROM alpine:3.18.0
|
|
RUN apk -U upgrade --no-cache \
|
|
&& apk add --no-cache bind-tools ca-certificates
|
|
COPY --from=build-env /app/v2/subfinder /usr/local/bin/
|
|
|
|
ENTRYPOINT ["subfinder"] |