test: squid:4
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
63a782b391
commit
70c5e4f1a1
|
@ -3,7 +3,7 @@ RUN apt-get -y update
|
||||||
RUN apt-get install -y curl supervisor git openssl build-essential libssl-dev wget vim curl
|
RUN apt-get install -y curl supervisor git openssl build-essential libssl-dev wget vim curl
|
||||||
RUN mkdir -p /var/log/supervisor
|
RUN mkdir -p /var/log/supervisor
|
||||||
WORKDIR /apps/
|
WORKDIR /apps/
|
||||||
RUN wget -O - http://www.squid-cache.org/Versions/v4/squid-4.12.tar.gz.asc | tar zxfv - \
|
RUN wget -O - http://www.squid-cache.org/Versions/v4/squid-4.12.tar.gz | tar zxfv - \
|
||||||
&& CPU=$(( `nproc --all`-1 )) \
|
&& CPU=$(( `nproc --all`-1 )) \
|
||||||
&& cd /apps/squid-4.12/ \
|
&& cd /apps/squid-4.12/ \
|
||||||
&& ./configure --prefix=/apps/squid --enable-icap-client --enable-ssl --with-openssl --enable-ssl-crtd --enable-auth --enable-basic-auth-helpers="NCSA" \
|
&& ./configure --prefix=/apps/squid --enable-icap-client --enable-ssl --with-openssl --enable-ssl-crtd --enable-auth --enable-basic-auth-helpers="NCSA" \
|
||||||
|
@ -15,7 +15,7 @@ ADD . /apps/
|
||||||
|
|
||||||
RUN chown -R nobody:nogroup /apps/
|
RUN chown -R nobody:nogroup /apps/
|
||||||
RUN mkdir -p /apps/squid/var/lib/
|
RUN mkdir -p /apps/squid/var/lib/
|
||||||
RUN /apps/squid/libexec/ssl_crtd -c -s /apps/squid/var/lib/ssl_db -M 4MB
|
RUN /apps/squid/libexec/security_file_certgen -c -s /apps/squid/var/lib/ssl_db -M 4MB
|
||||||
RUN /apps/squid/sbin/squid -N -f /apps/squid.cache.conf -z
|
RUN /apps/squid/sbin/squid -N -f /apps/squid.cache.conf -z
|
||||||
RUN chown -R nobody:nogroup /apps/
|
RUN chown -R nobody:nogroup /apps/
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue