[bitnami/openldap] Release 2.5.13-debian-11-r54 (#15563)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com> Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
parent
e1a7a8e17e
commit
c2c7c484f4
|
|
@ -4,7 +4,7 @@ ARG TARGETARCH
|
|||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
org.opencontainers.image.ref.name="2.5.13-debian-11-r53" \
|
||||
org.opencontainers.image.ref.name="2.5.13-debian-11-r54" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/openldap" \
|
||||
org.opencontainers.image.title="openldap" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
|
|
@ -21,7 +21,7 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
|||
RUN install_packages ca-certificates curl libargon2-1 libcom-err2 libcrypt1 libgssapi-krb5-2 libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 libltdl7 libnsl2 libnss3-tools libsasl2-2 libssl1.1 libtirpc3 libwrap0 mdbtools procps psmisc
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"openldap-2.5.13-7-linux-${OS_ARCH}-debian-11" \
|
||||
"openldap-2.5.13-8-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.14.0-156-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
|
|
|
|||
|
|
@ -11,6 +11,6 @@
|
|||
"digest": "75b221268b36b5da807d3afc0db4a5640a026b94590d12df328cb11cfd2c02af",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.5.13-7"
|
||||
"version": "2.5.13-8"
|
||||
}
|
||||
}
|
||||
|
|
@ -110,14 +110,6 @@ ldap_validate() {
|
|||
error "$1"
|
||||
error_code=1
|
||||
}
|
||||
check_allowed_port() {
|
||||
local port_var="${1:?missing port variable}"
|
||||
local validate_port_args=()
|
||||
! am_i_root && validate_port_args+=("-unprivileged")
|
||||
if ! err=$(validate_port "${validate_port_args[@]}" "${!port_var}"); then
|
||||
print_validation_error "An invalid port was specified in the environment variable ${port_var}: ${err}."
|
||||
fi
|
||||
}
|
||||
for var in LDAP_SKIP_DEFAULT_TREE LDAP_ENABLE_TLS; do
|
||||
if ! is_yes_no_value "${!var}"; then
|
||||
print_validation_error "The allowed values for $var are: yes or no"
|
||||
|
|
@ -153,8 +145,6 @@ ldap_validate() {
|
|||
print_validation_error "LDAP_PORT_NUMBER and LDAP_LDAPS_PORT_NUMBER are bound to the same port!"
|
||||
fi
|
||||
fi
|
||||
[[ -n "$LDAP_PORT_NUMBER" ]] && check_allowed_port LDAP_PORT_NUMBER
|
||||
[[ -n "$LDAP_LDAPS_PORT_NUMBER" ]] && check_allowed_port LDAP_LDAPS_PORT_NUMBER
|
||||
|
||||
[[ "$error_code" -eq 0 ]] || exit "$error_code"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue