diff --git a/Dockerfile b/Dockerfile index ce0d827..1d730eb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,8 +1,8 @@ -FROM debian:bullseye-slim as buildsquid +FROM debian:bookworm-slim as buildsquid ARG SQUID_VERSION ENV ENV_SQUID_VERSION=$SQUID_VERSION WORKDIR /tmp -RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --no-upgrade --no-install-recommends -y build-dep squid && apt-get --no-install-recommends -y install wget tar xz-utils libssl-dev libssl1.1 winbind \ +RUN echo "deb-src http://deb.debian.org/debian bookworm main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --no-upgrade --no-install-recommends -y build-dep squid && apt-get --no-install-recommends -y install wget tar xz-utils libssl-dev libssl1.1 winbind \ && wget --progress=dot:giga http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \ && tar -C /tmp --strip-components=1 -xzf $SQUID_VERSION \ && ./configure \