Updat: PHPLdapAdmin Dockerfile

This commit is contained in:
Siroco 2023-05-18 09:20:46 -05:00
parent 1fed83f3c0
commit b8c11a04f0
No known key found for this signature in database
GPG Key ID: 1324098302A514B0

View File

@ -1,5 +1,7 @@
FROM debian:stable-slim FROM debian:stable-slim
ARG PACKAGE="http://ftp.de.debian.org/debian/pool/main/p/phpldapadmin/phpldapadmin_1.2.6.3-0.3_all.deb"
ARG LDAP_BASE ARG LDAP_BASE
ENV LDAP_BASE $LDAP_BASE ENV LDAP_BASE $LDAP_BASE
@ -8,9 +10,10 @@ RUN apt-get update -y && apt dist-upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget RUN DEBIAN_FRONTEND=noninteractive apt-get install -y wget
RUN wget http://ftp.de.debian.org/debian/pool/main/p/phpldapadmin/phpldapadmin_1.2.6.3-0.2_all.deb && \ RUN cd /tmp/ && \
apt install -y ./phpldapadmin_1.2.6.3-0.2_all.deb && \ wget -O package.deb ${PACKAGE} && \
rm *.deb apt install -y ./package.deb && \
rm -rf /tmp/
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*