[bitnami/gradle] Release 9.6.0-debian-12-r0 (#94885)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-06-19 05:22:46 +02:00
committed by GitHub
parent cbfcb17f98
commit 4eaa948111
6 changed files with 12 additions and 12 deletions
+5 -5
View File
@@ -7,13 +7,13 @@ 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-11T01:09:39Z" \
org.opencontainers.image.created="2026-06-19T02:50:21Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/gradle/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/gradle" \
org.opencontainers.image.title="gradle" \
org.opencontainers.image.vendor="Broadcom, Inc." \
org.opencontainers.image.version="9.5.1"
org.opencontainers.image.version="9.6.0"
ENV HOME="/app" \
OS_ARCH="${TARGETARCH:-amd64}" \
@@ -29,7 +29,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
COMPONENTS=( \
"jre-17.0.19-11-1-linux-${OS_ARCH}-debian-12" \
"gradle-9.5.1-0-linux-${OS_ARCH}-debian-12" \
"gradle-9.6.0-0-linux-${OS_ARCH}-debian-12" \
) ; \
for COMPONENT in "${COMPONENTS[@]}"; do \
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
@@ -45,9 +45,9 @@ RUN apt-get update && apt-get upgrade -y && \
RUN mkdir /app && chmod g+rwX /app
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
ENV APP_VERSION="9.5.1" \
ENV APP_VERSION="9.6.0" \
BITNAMI_APP_NAME="gradle" \
IMAGE_REVISION="5" \
IMAGE_REVISION="0" \
PATH="/opt/bitnami/java/bin:/opt/bitnami/gradle/bin:$PATH"
WORKDIR /app
@@ -1 +0,0 @@
5cfe4d4869183392f36a3d8098790aa530bf1666445537ef52cf4ec6e9b5505f gradle-9.5.1-0-linux-amd64-debian-12.tar.gz
@@ -1 +0,0 @@
c71fa27f028c2c795fe37c55dba4ba5cebb28a53be209725c3bd310e114f99c5 gradle-9.5.1-0-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
7c30c79209ad8afa1245c5a95b73306f57409c0da368bca9548bb82c3c0e501c gradle-9.6.0-0-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
e1ca3139d18cbb4a47c68f8d3c9c922cdb93bf535728a1919ebb0952c37b71ae gradle-9.6.0-0-linux-arm64-debian-12.tar.gz
@@ -39,7 +39,7 @@ persist_app() {
fi
pushd "$install_dir" >/dev/null || exit
local file_to_persist_relative file_to_persist_destination file_to_persist_destination_folder
local -r tmp_file="/tmp/perms.acl"
local -r acl_file="$(mktemp "${TMPDIR:-/tmp}"/acl.XXXXXXXXXX)"
for file_to_persist in "${files_to_persist[@]}"; do
if [[ ! -f "$file_to_persist" && ! -d "$file_to_persist" ]]; then
error "Cannot persist '${file_to_persist}' because it does not exist"
@@ -50,22 +50,22 @@ persist_app() {
file_to_persist_destination_folder="$(dirname "$file_to_persist_destination")"
# Get original permissions for existing files, which will be applied later
# Exclude the root directory with 'sed', to avoid issues when copying the entirety of it to a volume
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$tmp_file"
getfacl -R "$file_to_persist_relative" | sed -E '/# file: (\..+|[^.])/,$!d' > "$acl_file"
# Copy directories to the volume
ensure_dir_exists "$file_to_persist_destination_folder"
cp -Lr --preserve=links "$file_to_persist_relative" "$file_to_persist_destination_folder"
# Restore permissions
pushd "$persist_dir" >/dev/null || exit
if am_i_root; then
setfacl --restore="$tmp_file"
setfacl --restore="$acl_file"
else
# When running as non-root, don't change ownership
setfacl --restore=<(grep -E -v '^# (owner|group):' "$tmp_file")
setfacl --restore=<(grep -E -v '^# (owner|group):' "$acl_file")
fi
popd >/dev/null || exit
done
popd >/dev/null || exit
rm -f "$tmp_file"
rm -f "$acl_file"
# Install the persisted files into the installation directory, via symlinks
restore_persisted_app "$@"
}