feat: squid 4.12 ubuntu focal
This commit is contained in:
parent
73dcac6c03
commit
a2db62061d
|
@ -1,6 +1,6 @@
|
||||||
ARG DOCKER_PREFIX=
|
ARG DOCKER_PREFIX=
|
||||||
|
|
||||||
FROM ${DOCKER_PREFIX}ubuntu:artful
|
FROM ${DOCKER_PREFIX}ubuntu:focal
|
||||||
|
|
||||||
ARG TRUST_CERT=
|
ARG TRUST_CERT=
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ RUN apt-get update && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get build-dep -y squid && \
|
DEBIAN_FRONTEND=noninteractive apt-get build-dep -y squid && \
|
||||||
DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar xz-utils libssl-dev
|
DEBIAN_FRONTEND=noninteractive apt-get install -y wget tar xz-utils libssl-dev
|
||||||
|
|
||||||
ARG SQUID_VERSION=4.0.21
|
ARG SQUID_VERSION=4.12
|
||||||
|
|
||||||
# TODO: verify the squid download with the signing key
|
# TODO: verify the squid download with the signing key
|
||||||
RUN mkdir /src \
|
RUN mkdir /src \
|
||||||
|
|
|
@ -38,7 +38,7 @@ chown proxy: /dev/stdout
|
||||||
chown proxy: /dev/stderr
|
chown proxy: /dev/stderr
|
||||||
|
|
||||||
# Initialize the certificates database
|
# Initialize the certificates database
|
||||||
/usr/libexec/security_file_certgen -c -s /var/spool/squid4/ssl_db
|
/usr/libexec/security_file_certgen -c -s /var/spool/squid4/ssl_db -M 100MB
|
||||||
chown -R proxy: /var/spool/squid4/ssl_db
|
chown -R proxy: /var/spool/squid4/ssl_db
|
||||||
|
|
||||||
#ssl_crtd -c -s
|
#ssl_crtd -c -s
|
||||||
|
|
Loading…
Reference in New Issue