diff --git a/Containerfile.multiarch b/Containerfile.multiarch index 4f9c129..4af2cff 100644 --- a/Containerfile.multiarch +++ b/Containerfile.multiarch @@ -11,20 +11,18 @@ ARG TARGETOS ARG TARGETARCH ARG TARGETVARIANT -ARG CONTAINER_LIBRARY - # renovate: datasource=repology depName=alpine_3_20/openldap versioning=loose 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 && \ + adduser -S -D -H -u 1001 -G ldap -g ldap ldap && \ apk --update add --virtual .build-deps curl && \ - apk --update --no-cache add openldap=${OPENLDAP_VERSION} \ - openldap-back-ldap=${OPENLDAP_VERSION} \ - openldap-back-mdb=${OPENLDAP_VERSION} \ - openldap-overlay-rwm=${OPENLDAP_VERSION} \ - openldap-overlay-memberof=${OPENLDAP_VERSION} \ - openldap-clients=${OPENLDAP_VERSION} && \ + apk --update --no-cache add openldap \ + openldap-back-ldap \ + openldap-back-mdb \ + openldap-overlay-rwm \ + openldap-overlay-memberof \ + openldap-clients && \ mkdir -p /openldap/conf /openldap/data && \ cp /etc/openldap/slapd.conf /openldap/conf/slapd.conf && \ chown -R ldap:ldap /openldap && \