Fix Dockerfile

This commit is contained in:
fredbcode 2021-04-23 12:24:10 +02:00
parent 3e2bbae96b
commit 825e9b54b6

View File

@ -6,7 +6,7 @@ ENV SQUID_CACHE_DIR=/var/spool/squid \
WORKDIR /tmp
RUN apt-get update && apt-get --no-install-recommends -y build-dep squid && apt-get install --no-install-recommends -y wget tar xz-utils libssl-dev libssl1.1 \
RUN sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list && apt-get update && apt-get --no-install-recommends -y build-dep squid && apt-get install --no-install-recommends -y wget tar xz-utils libssl-dev libssl1.1 \
&& mkdir squid && wget http://www.squid-cache.org/Versions/v4/$SQUID_VERSION.tar.gz \
&& tar -C squid --strip-components=1 -xvf $SQUID_VERSION \
&& cd squid \