mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
974f578975
chore(deps): bump golang from 1.19.4-alpine to 1.19.5-alpine
12 lines
375 B
Docker
12 lines
375 B
Docker
FROM golang:1.19.5-alpine AS builder
|
|
ARG BUILD_SOURCE_TAG=latest
|
|
RUN apk add --no-cache git build-base gcc musl-dev
|
|
RUN go install -v github.com/projectdiscovery/httpx/cmd/httpx@${BUILD_SOURCE_TAG}
|
|
|
|
FROM alpine:3.17.1
|
|
RUN apk -U upgrade --no-cache \
|
|
&& apk add --no-cache bind-tools ca-certificates
|
|
COPY --from=builder /go/bin/httpx /usr/local/bin/
|
|
|
|
ENTRYPOINT ["httpx"]
|