Skip to content

Commit

Permalink
Removed source folder and it was squashed installation commands
Browse files Browse the repository at this point in the history
  • Loading branch information
joariasl committed Feb 28, 2019
1 parent 13d9046 commit e80dddd
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@ COPY assets/saslauthd.conf /etc/saslauthd.conf

RUN curl -LJO http://mirror.eu.oneandone.net/software/openldap/openldap-release/openldap-${OPENLDAP_VERSION}.tgz \
&& gunzip -c openldap-${OPENLDAP_VERSION}.tgz | tar xf - \
&& rm openldap-${OPENLDAP_VERSION}.tgz

WORKDIR /openldap-${OPENLDAP_VERSION}

RUN ./configure --enable-spasswd --with-cyrus-sasl --enable-memberof \
&& rm openldap-${OPENLDAP_VERSION}.tgz \
&& cd /openldap-${OPENLDAP_VERSION} \
&& ./configure --enable-spasswd --with-cyrus-sasl --enable-memberof \
&& make depend \
&& make \
&& make install \
&& make clean
&& make clean \
&& rm -rf /openldap-${OPENLDAP_VERSION}

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

0 comments on commit e80dddd

Please sign in to comment.