File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -23,15 +23,14 @@ COPY assets/saslauthd.conf /etc/saslauthd.conf
2323
2424RUN curl -LJO http://mirror.eu.oneandone.net/software/openldap/openldap-release/openldap-${OPENLDAP_VERSION}.tgz \
2525 && gunzip -c openldap-${OPENLDAP_VERSION}.tgz | tar xf - \
26- && rm openldap-${OPENLDAP_VERSION}.tgz
27-
28- WORKDIR /openldap-${OPENLDAP_VERSION}
29-
30- RUN ./configure --enable-spasswd --with-cyrus-sasl --enable-memberof \
26+ && rm openldap-${OPENLDAP_VERSION}.tgz \
27+ && cd /openldap-${OPENLDAP_VERSION} \
28+ && ./configure --enable-spasswd --with-cyrus-sasl --enable-memberof \
3129 && make depend \
3230 && make \
3331 && make install \
34- && make clean
32+ && make clean \
33+ && rm -rf /openldap-${OPENLDAP_VERSION}
3534
3635RUN mkdir /opt/openldap-init \
3736 && cp /usr/local/var/openldap-data/DB_CONFIG.example /opt/openldap-init/
You can’t perform that action at this time.
0 commit comments