Skip to content

Commit 95e667f

Browse files
authored
[bitnami/harbor-core] Release 2.15.1-debian-12-r7 (#94406)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
1 parent ef4045c commit 95e667f

8 files changed

Lines changed: 40 additions & 7 deletions

bitnami/harbor-core/2/debian-12/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
77
ARG TARGETARCH
88

99
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
10-
org.opencontainers.image.created="2026-06-02T22:51:15Z" \
10+
org.opencontainers.image.created="2026-06-05T21:12:41Z" \
1111
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
1212
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/harbor-core/README.md" \
1313
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/harbor-core" \
@@ -29,7 +29,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
2929
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
3030
COMPONENTS=( \
3131
"ini-file-1.4.9-11-linux-${OS_ARCH}-debian-12" \
32-
"harbor-core-2.15.1-3-linux-${OS_ARCH}-debian-12" \
32+
"harbor-core-2.15.1-4-linux-${OS_ARCH}-debian-12" \
3333
) ; \
3434
for COMPONENT in "${COMPONENTS[@]}"; do \
3535
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -50,7 +50,7 @@ COPY rootfs /
5050
RUN /opt/bitnami/scripts/harbor-core/postunpack.sh
5151
ENV APP_VERSION="2.15.1" \
5252
BITNAMI_APP_NAME="harbor-core" \
53-
IMAGE_REVISION="6" \
53+
IMAGE_REVISION="7" \
5454
PATH="/opt/bitnami/common/bin:/opt/bitnami/harbor-core/bin:$PATH"
5555

5656
VOLUME [ "/data", "/etc/core" ]

bitnami/harbor-core/2/debian-12/prebuildfs/opt/bitnami/checksums/harbor-core-2.15.1-3-linux-amd64-debian-12.tar.gz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.

bitnami/harbor-core/2/debian-12/prebuildfs/opt/bitnami/checksums/harbor-core-2.15.1-3-linux-arm64-debian-12.tar.gz.sha256

Lines changed: 0 additions & 1 deletion
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7dfe561a842c744ac5554310e1479a0436724bbc2379c4dc19bee86d41061344 harbor-core-2.15.1-4-linux-amd64-debian-12.tar.gz
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
7b6fee23993c7ba43e74b3e006cba302902c3dfecf3190bf497b684abe5327bc harbor-core-2.15.1-4-linux-arm64-debian-12.tar.gz

bitnami/harbor-core/2/debian-12/prebuildfs/opt/bitnami/scripts/libos.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ ensure_user_exists() {
170170
if [[ -n "$home" ]]; then
171171
mkdir -p "$home"
172172
usermod -d "$home" "$user" >/dev/null 2>&1
173-
configure_permissions_ownership "$home" -d "775" -f "664" -u "$user" -g "$group"
173+
configure_permissions_ownership "$home" -d "775" -f "664" -u "$user" -g "$group" -n
174174
fi
175175
}
176176

bitnami/harbor-core/2/debian-12/prebuildfs/opt/bitnami/scripts/libvalidations.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#########################
2121
is_int() {
2222
local -r int="${1:?missing value}"
23-
if [[ "$int" =~ ^-?[0-9]+ ]]; then
23+
if [[ "$int" =~ ^-?[0-9]+$ ]]; then
2424
true
2525
else
2626
false

bitnami/harbor-core/2/debian-12/prebuildfs/opt/bitnami/scripts/libversion.sh

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,36 @@ get_sematic_version () {
4949
fi
5050
fi
5151
}
52+
53+
########################
54+
# Compares two semantic versions
55+
# Arguments:
56+
# $1 - version1: first version to compare
57+
# $2 - version2: second version to compare
58+
# Returns:
59+
# -1 if version1 is less than version2
60+
# 0 if version1 is equal to version2
61+
# 1 if version1 is greater than version2
62+
#########################
63+
compare_semantic_versions() {
64+
local version1="${1:?version1 is required}"
65+
local version2="${2:?version2 is required}"
66+
local major1 major2 minor1 minor2 patch1 patch2
67+
68+
major1="$(get_sematic_version "$version1" 1)"
69+
major2="$(get_sematic_version "$version2" 1)"
70+
minor1="$(get_sematic_version "$version1" 2)"
71+
minor2="$(get_sematic_version "$version2" 2)"
72+
patch1="$(get_sematic_version "$version1" 3)"
73+
patch2="$(get_sematic_version "$version2" 3)"
74+
75+
if [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -eq "$minor2" ]] && [[ "$patch1" -eq "$patch2" ]]; then
76+
echo "0"
77+
elif [[ "$major1" -lt "$major2" ]] ||
78+
{ [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -lt "$minor2" ]]; } ||
79+
{ [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -eq "$minor2" ]] && [[ "$patch1" -lt "$patch2" ]]; }; then
80+
echo "-1"
81+
else
82+
echo "1"
83+
fi
84+
}

0 commit comments

Comments
 (0)