mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
36fa859f2d
Add ca-certificates and bind-tools to Docker Image.
12 lines
313 B
Docker
12 lines
313 B
Docker
FROM golang:1.14-alpine AS builder
|
|
RUN apk add --no-cache git
|
|
RUN GO111MODULE=on go get -v github.com/projectdiscovery/httpx/cmd/httpx
|
|
|
|
FROM alpine:latest
|
|
|
|
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"]
|