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
ARG PACKAGE="http://ftp.de.debian.org/debian/pool/main/p/phpldapadmin/phpldapadmin_1.2.6.3-0.3_all.deb"
ARG 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 wget http://ftp.de.debian.org/debian/pool/main/p/phpldapadmin/phpldapadmin_1.2.6.3-0.2_all.deb && \
apt install -y ./phpldapadmin_1.2.6.3-0.2_all.deb && \
rm *.deb
RUN cd /tmp/ && \
wget -O package.deb ${PACKAGE} && \
apt install -y ./package.deb && \
rm -rf /tmp/
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*