[bitnami/harbor-registry] Release 2.8.3-debian-11-r14 (#44356)

Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
Bitnami Bot
2023-08-12 12:04:48 +02:00
committed by GitHub
parent 05ffab930a
commit cc81c7f1a1
2 changed files with 5 additions and 5 deletions

View File

@@ -7,10 +7,10 @@ ARG TARGETARCH
LABEL com.vmware.cp.artifact.flavor="sha256:1e1b4657a77f0d47e9220f0c37b9bf7802581b93214fff7d1bd2364c8bf22e8e" \
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
org.opencontainers.image.created="2023-08-08T12:09:35Z" \
org.opencontainers.image.created="2023-08-11T16:21:16Z" \
org.opencontainers.image.description="Application packaged by VMware, Inc" \
org.opencontainers.image.licenses="Apache-2.0" \
org.opencontainers.image.ref.name="2.8.3-debian-11-r11" \
org.opencontainers.image.ref.name="2.8.3-debian-11-r14" \
org.opencontainers.image.title="harbor-registry" \
org.opencontainers.image.vendor="VMware, Inc." \
org.opencontainers.image.version="2.8.3"

View File

@@ -27,7 +27,7 @@ get_system_cert_paths() {
distro="$(get_os_metadata --id)"
if [[ "$distro" =~ ^(debian|ubuntu)$ ]]; then
echo "/etc/ssl/certs/"
elif [[ "$distro" =~ ^(centos|photon)$ ]]; then
elif [[ "$distro" =~ ^photon$ ]]; then
echo "/etc/pki/tls/certs/"
else
# Check the existence of generic paths when OS_FLAVOR does
@@ -55,7 +55,7 @@ configure_permissions_system_certs() {
local -r owner="${1:-}"
# Debian
set_permissions_ownership "/etc/pki/tls/certs/ca-bundle.crt" "$owner"
# Centos/Phonton
# Photon
set_permissions_ownership "/etc/pki/tls/certs/ca-bundle.trust.crt" "$owner"
set_permissions_ownership "/etc/ssl/certs/ca-certificates.crt" "$owner"
}
@@ -100,7 +100,7 @@ install_cert() {
if [[ "$distro" =~ ^(debian|ubuntu)$ ]]; then
cat "$cert" >> /etc/ssl/certs/ca-certificates.crt
elif [[ "$distro" =~ ^(centos|photon)$ ]]; then
elif [[ "$distro" =~ ^photon$ ]]; then
cat "$cert" >> /etc/pki/tls/certs/ca-bundle.crt
else
# Check the existence of generic ca-bundles when OS_FLAVOR does