[bitnami/kong] Release 3.9.2-debian-12-r0 (#94390)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-06-05 18:20:26 +02:00
committed by GitHub
parent 5f96566073
commit d7130de6cb
8 changed files with 42 additions and 9 deletions
+5 -5
View File
@@ -7,13 +7,13 @@ ARG DOWNLOADS_URL="downloads.bitnami.com/files/stacksmith"
ARG TARGETARCH
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
org.opencontainers.image.created="2026-05-29T18:52:51Z" \
org.opencontainers.image.created="2026-06-05T15:58:15Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/kong/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/kong" \
org.opencontainers.image.title="kong" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="3.9.1"
org.opencontainers.image.version="3.9.2"
ENV HOME="/" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -28,7 +28,7 @@ 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=( \
"kong-3.9.1-21-linux-${OS_ARCH}-debian-12" \
"kong-3.9.2-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -46,9 +46,9 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
COPY rootfs /
RUN /opt/bitnami/scripts/kong/postunpack.sh
ENV APP_VERSION="3.9.1" \
ENV APP_VERSION="3.9.2" \
BITNAMI_APP_NAME="kong" \
IMAGE_REVISION="46" \
IMAGE_REVISION="0" \
PATH="/opt/bitnami/kong/bin:/opt/bitnami/kong/openresty/bin:/opt/bitnami/kong/openresty/luajit/bin:/opt/bitnami/kong/openresty/nginx/sbin:/opt/bitnami/kong/luarocks/bin:$PATH"
EXPOSE 8000 8001 8443 8444
@@ -1 +0,0 @@
db8166f5199c0eb748e132dbfea1a86f37987c6fdc81d745a6c0c0b3530adf88 kong-3.9.1-21-linux-amd64-debian-12.tar.gz
@@ -1 +0,0 @@
6bfffbfe0a91ec67c09b7615095666e9b8ace8c2f2274a1c51df2d67a6ad9ebf kong-3.9.1-21-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
b5fe7df63668d2ea3c8abdff1a75bf3273a6dcaf8c2821699c34c7c9d1b506c5 kong-3.9.2-0-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
0bcdd2f9e2a28db7a50c6d9f916c0d0fb6a0f125689477233c049c54d34f96f3 kong-3.9.2-0-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
}