Optionals environment variables
This commit is contained in:
1 parent
34fa8c473f
commit
b489568c82
6 files changed
+196
-24
No files matched your search
+4
-2
@@ -99,11 +99,13 @@ RUN adduser --no-create-home --uid 1161 --group --system squid \
|
||||
&& echo "cache_log /var/log/squid/cache.log" >> /etc/squid/squid.conf \
|
||||
&& echo "cache_effective_user squid" >> /etc/squid/squid.conf \
|
||||
# Packages dependencies installation for running and clean again
|
||||
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates net-tools rsync libexpat1 libltdl7 libxml2 openssl ca-certificates libldap-2.4-2 libecap3 libcap2 libdb5.3 libatomic1 dumb-init procps \
|
||||
&& apt-get update && apt-get install -y --no-install-recommends ca-certificates net-tools rsync libexpat1 libltdl7 libxml2 openssl ca-certificates libldap-2.4-2 libecap3 libcap2 libdb5.3 libatomic1 dumb-init procps inotify-tools \
|
||||
&& apt-get auto-remove -y && apt-get clean autoclean \
|
||||
&& rm -rf /var/lib/apt/lists/* && rm -Rf /tmp/*
|
||||
COPY run.sh /
|
||||
RUN chmod +x /run.sh
|
||||
COPY autoreload.sh /
|
||||
COPY sup.sh.sh /
|
||||
RUN chmod +x /run.sh /autoreload.sh /sup.sh
|
||||
HEALTHCHECK CMD squidclient mgr:info | grep "HTTP/1.1 200 OK" || exit 1
|
||||
EXPOSE 3128
|
||||
ENTRYPOINT ["dumb-init"]
|
||||
|
||||
Reference in new issue
Block a user