mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-11-09 22:24:19 +03:00
3ca698a571
Signed-off-by: Rui Chen <rui@chenrui.dev>
11 lines
312 B
Docker
11 lines
312 B
Docker
FROM golang:1.17.0-alpine AS builder
|
|
RUN apk add --no-cache git
|
|
RUN GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
|
|
|
|
FROM alpine:3.14
|
|
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"]
|