Files
projectdiscovery-httpx/Dockerfile
T
dependabot[bot] e9f6025257 chore(deps): bump golang from 1.19.5-alpine to 1.20.0-alpine
Bumps golang from 1.19.5-alpine to 1.20.0-alpine.

---
updated-dependencies:
- dependency-name: golang
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-06 10:01:22 +00:00

12 lines
375 B
Docker

FROM golang:1.20.0-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"]