fix: add bash and ldap listener
This commit is contained in:
parent
aa421b8914
commit
583757a5d2
@ -19,7 +19,7 @@ ENV OPENLDAP_VERSION=2.6.7-r0
|
|||||||
RUN addgroup -g 1001 -S ldap && \
|
RUN addgroup -g 1001 -S ldap && \
|
||||||
adduser -S -D -H -u 1001 -h /var/www -s /usr/lib/openldap -G ldap -g ldap 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 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-ldap=${OPENLDAP_VERSION} \
|
||||||
openldap-back-mdb=${OPENLDAP_VERSION} \
|
openldap-back-mdb=${OPENLDAP_VERSION} \
|
||||||
openldap-overlay-rwm=${OPENLDAP_VERSION} \
|
openldap-overlay-rwm=${OPENLDAP_VERSION} \
|
||||||
@ -41,4 +41,4 @@ USER 1001
|
|||||||
STOPSIGNAL SIGTERM
|
STOPSIGNAL SIGTERM
|
||||||
|
|
||||||
WORKDIR /openldap
|
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://"]
|
||||||
|
Loading…
Reference in New Issue
Block a user