[bitnami/minio-client] Release 2025.8.13-debian-12-r21 (#94590)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-06-10 22:16:33 +02:00
committed by GitHub
parent 664168370f
commit 5766cf79c9
8 changed files with 42 additions and 9 deletions
@@ -3,11 +3,11 @@
FROM docker.io/bitnami/minideb:bookworm
ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
ARG DOWNLOADS_URL="https://downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-06-03T01:17:36Z" \
org.opencontainers.image.created="2026-06-10T20:04:54Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/minio-client/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/minio-client" \
@@ -28,11 +28,11 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
DOWNLOADS_URL=${SECRET_DOWNLOADS_URL:-${DOWNLOADS_URL}} ; \
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"minio-client-2025.8.13-11-linux-${OS_ARCH}-debian-12" \
"minio-client-2025.8.13-12-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
curl -SsLf "https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz" -O ; \
curl -SsLf "${DOWNLOADS_URL}/${COMPONENT}.tar.gz" -O ; \
fi ; \
sha256sum -c "/opt/bitnami/checksums/${COMPONENT}.tar.gz.sha256" ; \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner ; \
@@ -49,7 +49,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/minio-client/postunpack.sh
ENV APP_VERSION="2025.8.13" \
BITNAMI_APP_NAME="minio-client" \
IMAGE_REVISION="20" \
IMAGE_REVISION="21" \
PATH="/opt/bitnami/minio-client/bin:$PATH"
WORKDIR /opt/bitnami/minio-client
@@ -1 +0,0 @@
2c9412be6dcc4e4fcc674a34ac60c880c95cf93b4c874ae64e20dc6d17b3a208 minio-client-2025.8.13-11-linux-amd64-debian-12.tar.gz
@@ -1 +0,0 @@
7692b54119618e9928d1e02a1cfb067b7598faade44b3ea7db599133a50b88c7 minio-client-2025.8.13-11-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
7da2c2fa1e8f9f9f990ec5848c73fe9d3dc608fafcddb4ae072681ac62f8ee14 minio-client-2025.8.13-12-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
865ac1f7031499ecd9683c6ffba13e086aa7b4b9d52931cc875c9e24086ec434 minio-client-2025.8.13-12-linux-arm64-debian-12.tar.gz
@@ -170,7 +170,7 @@ ensure_user_exists() {
if [[ -n "$home" ]]; then
mkdir -p "$home"
usermod -d "$home" "$user" >/dev/null 2>&1
configure_permissions_ownership "$home" -d "775" -f "664" -u "$user" -g "$group"
configure_permissions_ownership "$home" -d "775" -f "664" -u "$user" -g "$group" -n
fi
}
@@ -20,7 +20,7 @@
#########################
is_int() {
local -r int="${1:?missing value}"
if [[ "$int" =~ ^-?[0-9]+ ]]; then
if [[ "$int" =~ ^-?[0-9]+$ ]]; then
true
else
false
@@ -49,3 +49,36 @@ get_sematic_version () {
fi
fi
}
########################
# Compares two semantic versions
# Arguments:
# $1 - version1: first version to compare
# $2 - version2: second version to compare
# Returns:
# -1 if version1 is less than version2
# 0 if version1 is equal to version2
# 1 if version1 is greater than version2
#########################
compare_semantic_versions() {
local version1="${1:?version1 is required}"
local version2="${2:?version2 is required}"
local major1 major2 minor1 minor2 patch1 patch2
major1="$(get_sematic_version "$version1" 1)"
major2="$(get_sematic_version "$version2" 1)"
minor1="$(get_sematic_version "$version1" 2)"
minor2="$(get_sematic_version "$version2" 2)"
patch1="$(get_sematic_version "$version1" 3)"
patch2="$(get_sematic_version "$version2" 3)"
if [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -eq "$minor2" ]] && [[ "$patch1" -eq "$patch2" ]]; then
echo "0"
elif [[ "$major1" -lt "$major2" ]] ||
{ [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -lt "$minor2" ]]; } ||
{ [[ "$major1" -eq "$major2" ]] && [[ "$minor1" -eq "$minor2" ]] && [[ "$patch1" -lt "$patch2" ]]; }; then
echo "-1"
else
echo "1"
fi
}