File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,8 @@ RUN groupadd -r openldap && useradd -r -g openldap openldap
99
1010# Install OpenLDAP and ldap-utils (and ssl-kit from baseimage), remove default ldap db
1111RUN apt-get -y update && /sbin/enable-service ssl-kit \
12- && LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends slapd ldap-utils \
12+ && LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends \
13+ slapd ldap-utils ntp \
1314 && rm -rf /var/lib/ldap /etc/ldap/slapd.d
1415
1516# Add OpenLDAP assets
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ chown -R openldap:openldap /var/lib/ldap
1313chown -R openldap:openldap /etc/ldap
1414chown -R openldap:openldap /osixia/slapd
1515
16+ /etc/init.d/ntp restart
17+
1618# container first start
1719if [ ! -e " $FIRST_START_DONE " ]; then
1820
You can’t perform that action at this time.
0 commit comments