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