Update Dockerfile typo
This commit is contained in:
parent
1f9175ac5a
commit
b10724ce98
@ -57,8 +57,7 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap
|
|||||||
&& make \
|
&& make \
|
||||||
&& find /tmp/ -type f -name "Makefil*" -delete \
|
&& find /tmp/ -type f -name "Makefil*" -delete \
|
||||||
&& find /tmp/ -type f -name "*.in" -delete
|
&& find /tmp/ -type f -name "*.in" -delete
|
||||||
|
# Install
|
||||||
# Instal
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
COPY --from=buildamd --chown=1161 /tmp/src/auth/basic/LDAP/basic_ldap_auth /usr/lib/squid/
|
COPY --from=buildamd --chown=1161 /tmp/src/auth/basic/LDAP/basic_ldap_auth /usr/lib/squid/
|
||||||
COPY --from=buildamd --chown=1161 /tmp/src/auth/digest/LDAP/digest_ldap_auth /usr/lib/squid/
|
COPY --from=buildamd --chown=1161 /tmp/src/auth/digest/LDAP/digest_ldap_auth /usr/lib/squid/
|
||||||
@ -103,7 +102,6 @@ RUN adduser --no-create-home --uid 1161 --group --system squid \
|
|||||||
&& 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 \
|
&& 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 \
|
||||||
&& apt-get auto-remove -y && apt-get clean autoclean \
|
&& apt-get auto-remove -y && apt-get clean autoclean \
|
||||||
&& rm -rf /var/lib/apt/lists/* && rm -Rf /tmp/*
|
&& rm -rf /var/lib/apt/lists/* && rm -Rf /tmp/*
|
||||||
|
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod +x /run.sh
|
RUN chmod +x /run.sh
|
||||||
HEALTHCHECK CMD squidclient mgr:index | grep "HTTP/1.1 200 OK" || exit 1
|
HEALTHCHECK CMD squidclient mgr:index | grep "HTTP/1.1 200 OK" || exit 1
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user