mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
92ea1a4fdc
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>
15 lines
348 B
Docker
15 lines
348 B
Docker
# Base
|
|
FROM golang:1.20.5-alpine AS builder
|
|
|
|
RUN apk add --no-cache git build-base gcc musl-dev
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN go mod download
|
|
RUN go build ./cmd/httpx
|
|
|
|
FROM alpine:3.18.0
|
|
RUN apk -U upgrade --no-cache \
|
|
&& apk add --no-cache bind-tools ca-certificates chromium
|
|
COPY --from=builder /app/httpx /usr/local/bin/
|
|
|
|
ENTRYPOINT ["httpx"] |