File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 66# Add openldap user and group first to make sure their IDs get assigned consistently, regardless of whatever dependencies get added
77RUN groupadd -r openldap && useradd -r -g openldap openldap
88
9- # Install OpenLDAP, ldap-utils and cfssl from baseimage
9+ # Install OpenLDAP, ldap-utils and cfssl from baseimage and clean apt-get files
1010# sources: https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/add-service-available
1111# https://github.com/osixia/docker-light-baseimage/blob/stable/image/service-available/:cfssl/download.sh
1212RUN apt-get -y update \
1313 && /container/tool/add-service-available :cfssl \
1414 && LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get install -y --force-yes --no-install-recommends \
1515 ldap-utils \
1616 openssl \
17- slapd
17+ slapd \
18+ && apt-get clean \
19+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
1820
1921# Add service directory to /container/service
2022ADD service /container/service
2123
2224# Use baseimage install-service script and clean all
2325# https://github.com/osixia/docker-light-baseimage/blob/stable/image/tool/install-service
24- RUN /container/tool/install-service \
25- && apt-get clean \
26- && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
26+ RUN /container/tool/install-service
2727
2828# Add default env variables
2929ADD environment /container/environment/99-default
You can’t perform that action at this time.
0 commit comments