mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-09-17 12:27:15 +03:00
9 lines
232 B
Docker
9 lines
232 B
Docker
FROM golang:1.14-alpine AS builder
|
|
RUN apk add --no-cache git
|
|
RUN GO111MODULE=auto go get -u -v github.com/projectdiscovery/httpx/cmd/httpx
|
|
|
|
FROM alpine:latest
|
|
COPY --from=builder /go/bin/httpx /usr/local/bin/
|
|
|
|
ENTRYPOINT ["httpx"]
|