mirror of
https://github.com/b4tman/docker-squid.git
synced 2025-04-05 21:40:52 +00:00
parent
eb2cea4f44
commit
3877c77b6f
@ -1,6 +1,6 @@
|
||||
FROM alpine:3.21.2 as build
|
||||
|
||||
ARG SQUID_VER=6.10
|
||||
ARG SQUID_VER=6.13
|
||||
|
||||
RUN set -x && \
|
||||
apk add --no-cache \
|
||||
@ -24,8 +24,8 @@ RUN set -x && \
|
||||
WORKDIR /tmp/build
|
||||
|
||||
RUN set -x && \
|
||||
curl -SsL http://www.squid-cache.org/Versions/v${SQUID_VER%%.*}/squid-${SQUID_VER}.tar.gz -o squid-${SQUID_VER}.tar.gz && \
|
||||
curl -SsL http://www.squid-cache.org/Versions/v${SQUID_VER%%.*}/squid-${SQUID_VER}.tar.gz.asc -o squid-${SQUID_VER}.tar.gz.asc
|
||||
curl -fSsL "https://github.com/squid-cache/squid/releases/download/SQUID_${SQUID_VER//./_}/squid-${SQUID_VER}.tar.gz" -o squid-${SQUID_VER}.tar.gz && \
|
||||
curl -fSsL "https://github.com/squid-cache/squid/releases/download/SQUID_${SQUID_VER//./_}/squid-${SQUID_VER}.tar.gz.asc" -o squid-${SQUID_VER}.tar.gz.asc
|
||||
|
||||
COPY squid-keys.asc /tmp/build
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user