Add SQUID_VERSION arg to dockerfile
This commit is contained in:
parent
01dc4a7c02
commit
5f658237e9
@ -8,7 +8,7 @@ ARG 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 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 \
|
||||
&& wget -o $SQUID_VERSION http://www.squid-cache.org/Versions/v4/$SQUID_VERSION \
|
||||
&& tar -C squid --strip-components=1 -xvf $SQUID_VERSION \
|
||||
&& cd squid \
|
||||
&& ./configure \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user