| ADD alpine-minirootfs-3.24.1-x86_64.tar.gz / # buildkit |
| CMD ["/bin/sh"] |
| /bin/sh -c apk add --no-cache openldap openldap-back-mdb openldap-clients && apk upgrade --no-cache && rm -rf /etc/openldap/slapd.d/* /var/lib/openldap/openldap-data/* /var/lib/ldap/* |
| COPY file:9ae3f1979f6e09586f8f07b72123d80e931bebb61a26290cf2c5b90b21bdea09 in /etc/openldap/schema/synthonyx.schema |
| COPY file:5cca3ccdffbabb383243dc838bafc5fa2c47194bdf80fceb1d07aa2573281369 in /entrypoint.sh |
| /bin/sh -c chmod +x /entrypoint.sh |
| VOLUME ["/var/lib/ldap"] |
| EXPOSE 389 |
| HEALTHCHECK --interval=10s --timeout=5s --start-period=30s --retries=5 CMD ldapwhoami -H ldap://127.0.0.1:389 -x 2>/dev/null || exit 1 |
| ENTRYPOINT ["/entrypoint.sh"] |