File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ FROM --platform=$BUILDPLATFORM debian:bookworm AS builder
22
33ARG DEBIAN_FRONTEND=noninteractive
44
5- ENV SOURCEURL=https://www. squid-cache.org/Versions/v6/squid-6.12 .tar.gz
5+ ENV SOURCEURL=https://github.com/ squid-cache/squid/archive/refs/tags/SQUID_6_14 .tar.gz
66ENV LANGPACKURL=https://www.squid-cache.org/Versions/langpack/squid-langpack-20240307.tar.gz
77
88ENV builddeps=" \
@@ -45,10 +45,12 @@ RUN echo "deb-src [signed-by=/usr/share/keyrings/debian-archive-keyring.gpg] htt
4545 && mkdir /build
4646
4747WORKDIR /build
48- RUN curl -o /build/squid-source.tar.gz ${SOURCEURL} \
49- && curl -o /build/squid-langpack.tar.gz ${LANGPACKURL} \
48+ RUN curl -L - o /build/squid-source.tar.gz ${SOURCEURL} \
49+ && curl -L - o /build/squid-langpack.tar.gz ${LANGPACKURL} \
5050 && tar --strip=1 -xf squid-source.tar.gz
5151
52+ RUN autoreconf --install --force
53+
5254RUN ./configure --prefix=/usr \
5355 --with-build-environment=default \
5456 --localstatedir=/var \
@@ -98,7 +100,7 @@ ARG DEBIAN_FRONTEND=noninteractive
98100COPY --from=builder /build/squid_0-1_amd64.deb /tmp/squid.deb
99101
100102RUN apt update \
101- && apt -qy install libssl3 /tmp/squid.deb \
103+ && apt -qy install ca-certificates libssl3 /tmp/squid.deb \
102104 && rm -rf /var/lib/apt/lists/*
103105
104106# Install language pack
You can’t perform that action at this time.
0 commit comments