Browse Source

fix openldap Dockerfile: permissions

pull/1/head
Nicolas Massé 8 years ago
parent
commit
98ed162944
  1. 2
      openldap/Dockerfile

2
openldap/Dockerfile

@ -5,7 +5,7 @@ RUN yum update -y \
&& yum clean all \ && yum clean all \
&& rm -rf /var/cache/yum \ && rm -rf /var/cache/yum \
&& cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG \ && cp /usr/share/openldap-servers/DB_CONFIG.example /var/lib/ldap/DB_CONFIG \
&& chmod -R ugo+rw,+X /var/lib/ldap \ && chmod -R ugo+rw,+X /var/lib/ldap /var/run/openldap \
&& chmod -R ugo+r,+X /etc/openldap && chmod -R ugo+r,+X /etc/openldap
VOLUME /var/lib/ldap VOLUME /var/lib/ldap

Loading…
Cancel
Save