Skip to content

Commit e80dddd

Browse files
committed
Removed source folder and it was squashed installation commands
1 parent 13d9046 commit e80dddd

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

Dockerfile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,14 @@ COPY assets/saslauthd.conf /etc/saslauthd.conf
2323

2424
RUN 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

3635
RUN mkdir /opt/openldap-init \
3736
&& cp /usr/local/var/openldap-data/DB_CONFIG.example /opt/openldap-init/

0 commit comments

Comments
 (0)