Update size + debian slim
This commit is contained in:
parent
3702136133
commit
039b291a71
@ -1,10 +1,10 @@
|
||||
FROM debian:stable-slim
|
||||
FROM debian:bulleyes-slim
|
||||
|
||||
ARG SQUID_VERSION
|
||||
ENV ENV_SQUID_VERSION=$SQUID_VERSION
|
||||
|
||||
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 \
|
||||
&& mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \
|
||||
&& cd squid \
|
||||
|
@ -1,10 +1,10 @@
|
||||
FROM debian:stable-slim
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
ARG SQUID_VERSION
|
||||
ENV ENV_SQUID_VERSION=$SQUID_VERSION
|
||||
|
||||
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 \
|
||||
&& mkdir squid && tar -C squid --strip-components=1 -xzf $SQUID_VERSION \
|
||||
&& cd squid \
|
||||
|
Loading…
Reference in New Issue
Block a user