Bump squid version to 3.0.8
This commit is contained in:
parent
7c97a5ef82
commit
c0e2308557
|
@ -4,12 +4,16 @@ RUN sed s:deb:deb-src: /etc/apt/sources.list >> /etc/apt/sources.list
|
||||||
|
|
||||||
RUN apt-get update && apt-get build-dep -y squid3 && apt-get install -y wget tar xz-utils libssl-dev
|
RUN apt-get update && apt-get build-dep -y squid3 && apt-get install -y wget tar xz-utils libssl-dev
|
||||||
|
|
||||||
|
ARG SQUID_VERSION=4.0.8
|
||||||
|
|
||||||
|
# TODO: verify the squid download with the signing key
|
||||||
RUN mkdir /src \
|
RUN mkdir /src \
|
||||||
&& cd /src \
|
&& cd /src \
|
||||||
&& wget http://www.squid-cache.org/Versions/v4/squid-4.0.7.tar.xz \
|
&& wget http://www.squid-cache.org/Versions/v4/squid-$SQUID_VERSION.tar.xz \
|
||||||
&& tar -xvvf squid-4.0.7.tar.xz
|
&& mkdir squid \
|
||||||
|
&& tar -C squid --strip-components=1 -xvf squid-$SQUID_VERSION.tar.xz
|
||||||
|
|
||||||
RUN cd /src/squid-4.0.7 && \
|
RUN cd /src/squid && \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--datadir=/usr/share/squid4 \
|
--datadir=/usr/share/squid4 \
|
||||||
|
@ -48,7 +52,7 @@ RUN cd /src/squid-4.0.7 && \
|
||||||
|
|
||||||
ARG CONCURRENCY=1
|
ARG CONCURRENCY=1
|
||||||
|
|
||||||
RUN cd /src/squid-4.0.7 && \
|
RUN cd /src/squid && \
|
||||||
make -j$CONCURRENCY && \
|
make -j$CONCURRENCY && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue