Browse Source

fix openldap Dockerfile: permissions

pull/1/head
Nicolas Massé 8 years ago
parent
commit
6766c0b69e
  1. 4
      openldap/Dockerfile

4
openldap/Dockerfile

@ -5,8 +5,8 @@ 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 /var/lib/ldap \ && chmod -R ugo+rw,+X /var/lib/ldap \
&& chmod -R ugo+r /etc/openldap && chmod -R ugo+r,+X /etc/openldap
VOLUME /var/lib/ldap VOLUME /var/lib/ldap
WORKDIR /var/lib/ldap WORKDIR /var/lib/ldap

Loading…
Cancel
Save