Add SQUID_VERSION arg to dockerfile
This commit is contained in:
parent
55ced2d8f0
commit
01dc4a7c02
@ -4,6 +4,8 @@ ENV SQUID_CACHE_DIR=/var/spool/squid \
|
||||
SQUID_LOG_DIR=/var/log/squid \
|
||||
SQUID_USER=proxy
|
||||
|
||||
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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user