Skip to content

Commit ab94e1e

Browse files
committed
clean
1 parent 5ac95fd commit ab94e1e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

image/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ ADD service/install.sh /tmp/install.sh
2020
ADD service/slapd/assets /osixia/slapd
2121

2222
# Run install script and clean all
23-
RUN ./tmp/install.sh && rm /tmp/install.sh \
23+
RUN ./tmp/install.sh \
2424
&& apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
2525

2626
# Add default env variables

image/service/slapd/container-start.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ EOF
3333

3434

3535
# start OpenLDAP
36-
slapd -h "ldapi:///" -u openldap -g openldap
36+
slapd -h "ldapi:///" -u openldap -g openldap
3737

3838
# TLS config
3939
if [ "${USE_TLS,,}" == "true" ]; then
@@ -50,7 +50,7 @@ EOF
5050
sed -i "s,/osixia/slapd/ssl/ldap.key,/osixia/slapd/ssl/${SSL_KEY_FILENAME},g" /osixia/slapd/tls.ldif
5151

5252
# set tls config
53-
ldapmodify -Y EXTERNAL -H ldapi:/// -f /osixia/slapd/tls.ldif -Q
53+
ldapmodify -Y EXTERNAL -H ldapi:/// -f /osixia/slapd/tls.ldif -Q
5454

5555
# add localhost route to certificate cn (need docker 1.5.0)
5656
cn=$(openssl x509 -in /osixia/slapd/ssl/$SSL_CRT_FILENAME -subject -noout | sed -n 's/.*CN=\(.*\)\/*\(.*\)/\1/p')
@@ -63,7 +63,7 @@ EOF
6363
# OpenLDAP config
6464
for f in $(find /osixia/slapd/config -name \*.ldif -type f); do
6565
status "Processing file ${f}"
66-
ldapmodify -r -Y EXTERNAL -H ldapi:/// -f $f -Q
66+
ldapmodify -r -Y EXTERNAL -H ldapi:/// -f $f -Q
6767
done
6868

6969
# stop OpenLDAP

0 commit comments

Comments
 (0)