Files
projectdiscovery-httpx/Dockerfile
T
Sandeep Singh 974f578975 Merge pull request #938 from projectdiscovery/dependabot/docker/dev/golang-1.19.5-alpine
chore(deps): bump golang from 1.19.4-alpine to 1.19.5-alpine
2023-01-16 16:31:57 +05:30

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"]