1
0
mirror of https://github.com/b4tman/docker-squid.git synced 2026-07-14 20:42:55 +03:00

Compare commits

...

2 Commits

Author SHA1 Message Date
b4tman 2e259018be download .xz instead of .gz (broken 7.6 .gz.asc) 2026-06-11 15:09:16 +03:00
b4tman 25571919e3 bump squid to 7.6 2026-06-11 15:09:16 +03:00
+5 -5
View File
@@ -1,6 +1,6 @@
FROM alpine:3.23.4 AS build
ARG SQUID_VER=7.5
ARG SQUID_VER=7.6
RUN set -x && \
apk add --no-cache \
@@ -24,8 +24,8 @@ RUN set -x && \
WORKDIR /tmp/build
RUN set -x && \
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
curl -fSsL "https://github.com/squid-cache/squid/releases/download/SQUID_${SQUID_VER//./_}/squid-${SQUID_VER}.tar.xz" -o squid-${SQUID_VER}.tar.xz && \
curl -fSsL "https://github.com/squid-cache/squid/releases/download/SQUID_${SQUID_VER//./_}/squid-${SQUID_VER}.tar.xz.asc" -o squid-${SQUID_VER}.tar.xz.asc
COPY squid-keys.asc /tmp/build
@@ -33,11 +33,11 @@ RUN set -x && \
GNUPGHOME="$(mktemp -d)" && \
export GNUPGHOME && \
gpg --import squid-keys.asc && \
gpg --batch --verify squid-${SQUID_VER}.tar.gz.asc squid-${SQUID_VER}.tar.gz && \
gpg --batch --verify squid-${SQUID_VER}.tar.xz.asc squid-${SQUID_VER}.tar.xz && \
rm -rf "$GNUPGHOME"
RUN set -x && \
tar --strip 1 -xzf squid-${SQUID_VER}.tar.gz && \
tar --strip 1 -xf squid-${SQUID_VER}.tar.xz && \
\
MACHINE=$(uname -m) && \
\