mirror of
https://github.com/projectdiscovery/httpx.git
synced 2024-09-19 21:37:27 +03:00
docker: use tagged image rather than latest
Signed-off-by: Rui Chen <rui@chenrui.dev>
This commit is contained in:
parent
d328ab7d56
commit
3ca698a571
@ -2,8 +2,7 @@ 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:latest
|
||||
|
||||
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/
|
||||
|
Loading…
Reference in New Issue
Block a user