fix: add bash and ldap listener
All checks were successful
ci/woodpecker/push/build-package Pipeline was successful
ci/woodpecker/push/build-container Pipeline was successful
ci/woodpecker/push/docs Pipeline was successful
ci/woodpecker/push/notify Pipeline was successful

This commit is contained in:
Robert Kaussow 2024-07-07 11:10:37 +02:00
parent aa421b8914
commit 583757a5d2
Signed by: xoxys
GPG Key ID: 4E692A2EAECC03C0

View File

@ -19,7 +19,7 @@ ENV OPENLDAP_VERSION=2.6.7-r0
RUN addgroup -g 1001 -S ldap && \
adduser -S -D -H -u 1001 -h /var/www -s /usr/lib/openldap -G ldap -g ldap ldap && \
apk --update add --virtual .build-deps curl && \
apk --update --no-cache add openldap=${OPENLDAP_VERSION} \
apk --update --no-cache add bash openldap=${OPENLDAP_VERSION} \
openldap-back-ldap=${OPENLDAP_VERSION} \
openldap-back-mdb=${OPENLDAP_VERSION} \
openldap-overlay-rwm=${OPENLDAP_VERSION} \
@ -41,4 +41,4 @@ USER 1001
STOPSIGNAL SIGTERM
WORKDIR /openldap
CMD ["/usr/sbin/slapd", "-d", "stats", "-u", "ldap", "-g", "ldap", "-f", "/openldap/conf/slapd.conf", "-h", "ldaps://"]
CMD ["/usr/sbin/slapd", "-d", "stats", "-u", "ldap", "-g", "ldap", "-f", "/openldap/conf/slapd.conf", "-h", "ldaps://", "ldap://"]