Update size + debian slim

This commit is contained in:
fredbcode 2021-10-12 15:33:05 +02:00
parent 3702136133
commit 039b291a71
2 changed files with 4 additions and 4 deletions

View File

@ -1,10 +1,10 @@
FROM debian:stable-slim FROM debian:bulleyes-slim
ARG SQUID_VERSION ARG SQUID_VERSION
ENV ENV_SQUID_VERSION=$SQUID_VERSION ENV ENV_SQUID_VERSION=$SQUID_VERSION
WORKDIR /tmp WORKDIR /tmp
RUN echo "deb-src http://deb.debian.org/debian buster main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --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 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 \
&& wget http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \ && wget http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \
&& mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \ && mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \
&& cd squid \ && cd squid \

View File

@ -1,10 +1,10 @@
FROM debian:stable-slim FROM debian:bullseye-slim
ARG SQUID_VERSION ARG SQUID_VERSION
ENV ENV_SQUID_VERSION=$SQUID_VERSION ENV ENV_SQUID_VERSION=$SQUID_VERSION
WORKDIR /tmp WORKDIR /tmp
RUN echo "deb-src http://deb.debian.org/debian buster main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --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 bullseye main contrib" >> /etc/apt/sources.list && apt-get update && apt-get --no-install-recommends -y build-dep squid && apt-get --no-install-recommends -y install wget tar xz-utils libssl-dev libssl1.1 winbind \
&& wget http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \ && wget http://www.squid-cache.org/Versions/v5/$SQUID_VERSION \
&& mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \ && mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \
&& cd squid \ && cd squid \