mirror of
https://github.com/projectdiscovery/httpx
synced 2026-06-08 16:50:17 +00:00
00d0977963
* Adding Screenshot support * adding headless body * moving example into compilable file * updating docs * enabling store response with screenshot * fixing output dir path * fixing mod * using native leakless * splitting response+screenshot folders * better handling json output * readme update * rel => abs path * Added chromium into docker * “Wipe them out. All of them.” – Darth Sidious * utils bump * go mod tidy --------- Co-authored-by: Sandeep Singh <sandeep@projectdiscovery.io> Co-authored-by: sandeep <8293321+ehsandeep@users.noreply.github.com>
15 lines
348 B
Docker
15 lines
348 B
Docker
# Base
|
|
FROM golang:1.20.3-alpine AS builder
|
|
|
|
RUN apk add --no-cache git build-base gcc musl-dev
|
|
WORKDIR /app
|
|
COPY . /app
|
|
RUN go mod download
|
|
RUN go build ./cmd/httpx
|
|
|
|
FROM alpine:3.17.3
|
|
RUN apk -U upgrade --no-cache \
|
|
&& apk add --no-cache bind-tools ca-certificates chromium
|
|
COPY --from=builder /app/httpx /usr/local/bin/
|
|
|
|
ENTRYPOINT ["httpx"] |