Fix Dockerfile
This commit is contained in:
parent
825e9b54b6
commit
b4daef63cf
@ -5,7 +5,7 @@ ENV SQUID_CACHE_DIR=/var/spool/squid \
|
||||
SQUID_USER=proxy
|
||||
|
||||
WORKDIR /tmp
|
||||
|
||||
RUN sed -Ei 's/^# deb-src /deb-src /' /etc/apt/sources.list && cat /etc/apt/sources.list
|
||||
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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user