diff --git a/Dockerfile b/Dockerfile index 11ffd10..14682e4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -57,8 +57,7 @@ RUN echo "deb-src http://deb.debian.org/debian bullseye main contrib" >> /etc/ap && make \ && find /tmp/ -type f -name "Makefil*" -delete \ && find /tmp/ -type f -name "*.in" -delete - -# Instal +# Install 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/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 auto-remove -y && apt-get clean autoclean \ && rm -rf /var/lib/apt/lists/* && rm -Rf /tmp/* - COPY run.sh / RUN chmod +x /run.sh HEALTHCHECK CMD squidclient mgr:index | grep "HTTP/1.1 200 OK" || exit 1