[bitnami/redmine] Release 6.1.2-debian-12-r14 (#94017)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2026-05-27 11:31:36 +02:00
committed by GitHub
parent 425ebd8494
commit f898ea253e
15 changed files with 66 additions and 10 deletions
+7 -7
View File
@@ -7,7 +7,7 @@ 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-23T11:08:50Z" \
org.opencontainers.image.created="2026-05-27T09:12:52Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/redmine/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/redmine" \
@@ -32,17 +32,17 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
"postgresql-client-18.4.0-0-linux-${OS_ARCH}-debian-12" \
"mysql-client-12.2.2-0-linux-${OS_ARCH}-debian-12" \
"mariadb-lib-12.2.2-3-linux-${OS_ARCH}-debian-12" \
"redmine-6.1.2-2-linux-${OS_ARCH}-debian-12" \
"redmine-6.1.2-3-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 "https://${DOWNLOADS_URL}/${COMPONENT}.tar.gz.sha256" -O ; \
fi ; \
sha256sum -c "${COMPONENT}.tar.gz.sha256" ; \
sha256sum -c "/opt/bitnami/checksums/${COMPONENT}.tar.gz.sha256" ; \
tar -zxf "${COMPONENT}.tar.gz" -C /opt/bitnami --strip-components=2 --no-same-owner ; \
rm -rf "${COMPONENT}".tar.gz{,.sha256} ; \
done
rm -rf "${COMPONENT}".tar.gz ; \
done ; \
rm -rf /opt/bitnami/checksums ;
RUN apt-get update && apt-get upgrade -y && \
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
@@ -53,7 +53,7 @@ RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
RUN /opt/bitnami/scripts/redmine/postunpack.sh
ENV APP_VERSION="6.1.2" \
BITNAMI_APP_NAME="redmine" \
IMAGE_REVISION="13" \
IMAGE_REVISION="14" \
LD_LIBRARY_PATH="/opt/bitnami/mariadb/lib:/opt/bitnami/postgresql/lib:$LD_LIBRARY_PATH" \
PATH="/opt/bitnami/ruby/bin:/opt/bitnami/common/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/mysql/bin:$PATH"
@@ -0,0 +1 @@
a4c1ec7675e8b5f5d8565ebfe2f0af242950d9e815d62b11bcadcdee9606b130 mariadb-lib-12.2.2-3-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
065a632ae105baeeecd4ce6022ed60a261fe255b65b8e434a43a3b1821b77905 mariadb-lib-12.2.2-3-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
774176309ecff1cb425ea9f4d887a4280404c017da7ddef06c6568345abb434e mysql-client-12.2.2-0-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
f3cb04c8b0781e306ef47be8b97409b6b19bd3f7bc6b7dcabddc242b6a9ab6c2 mysql-client-12.2.2-0-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
94f47dda1a262952f801352ae6ba0c640a279384451c50d5bdfd354af008d76e postgresql-client-18.4.0-0-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
b54111e298a44eacf4e41b1651c196d8aecd16f6b75b89c4a85c5e7f1a31bf26 postgresql-client-18.4.0-0-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
25cdf46c30ede0960c6120baf5ebaf0aea4fb28fce772df27b19c901ff005162 redmine-6.1.2-3-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
ca3d497ab42774bb17ab0c4bf372298dd2fd7eb612c8cffc70dda8ddf7309c51 redmine-6.1.2-3-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
8cee55181fe9e89068ca2a8984f407d64bd5b0d13cde927dc934c8f0416ea3d5 ruby-3.4.9-2-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
51b3a633dd7e8da6ea7329595d16f67af43bb552d06096d6563469ba0ecfdfd6 ruby-3.4.9-2-linux-arm64-debian-12.tar.gz
@@ -0,0 +1 @@
b7241b4121e1304b74a5e04db2d4e8d1db6aca71a65987d8c79836e5235cb927 yq-4.53.2-1-linux-amd64-debian-12.tar.gz
@@ -0,0 +1 @@
ba312982d2ba0a320c116b4db0e0ef2518813be9a948a29bc9c3e05951049da9 yq-4.53.2-1-linux-arm64-debian-12.tar.gz
@@ -139,3 +139,40 @@ wait_for_log_entry() {
return 1
fi
}
########################
# Creates a secure temporary file containing the provided secret
# Arguments:
# $1 - secret to write to the temporary file
# Returns:
# String
#########################
credential_to_temp_file() {
local secret="$1"
local tmp_file
# Use mktemp with a specific prefix for easier debugging if something lingers
if ! tmp_file=$(mktemp "${TMPDIR:-/tmp}/at.cred.XXXXXXXX"); then
echo "Error: Failed to create temp file" >&2
return 1
fi
# Restrict permissions before writing the secret
chmod 0600 "$tmp_file"
# Write secret and ensure it's flushed to disk
printf "%s" "$secret" > "$tmp_file"
# Output the filename so the caller can capture it
echo "$tmp_file"
}
########################
# Cleans up temporary files created by credential_to_temp_file
# Arguments:
# None
# Returns:
# None
#########################
cleanup_credentials() {
debug "Cleaning up temporary files containing credentials"
rm -rf "${TMPDIR:-/tmp}"/at.cred.*
}
@@ -263,7 +263,12 @@ mysql_execute_print_output() {
fi
args+=("-N" "-u" "$user")
[[ -n "$db" ]] && args+=("$db")
[[ -n "$pass" ]] && args+=("-p$pass")
# Avoid passing credentials as arguments to mysql, to avoid leaking them given a local observer with /proc read access can read them
if [[ -n "$pass" ]]; then
local pass_file
pass_file="$(credential_to_temp_file "$pass")"
args+=("-p$(<"$pass_file")")
fi
[[ "${#opts[@]}" -gt 0 ]] && args+=("${opts[@]}")
[[ "${#extra_opts[@]}" -gt 0 ]] && args+=("${extra_opts[@]}")
@@ -271,7 +276,6 @@ mysql_execute_print_output() {
if [[ "${BITNAMI_DEBUG:-false}" = true ]]; then
local mysql_cmd
mysql_cmd="$(</dev/stdin)"
debug "Executing SQL command:\n$mysql_cmd"
"$(mysql_binary)" "${args[@]}" <<<"$mysql_cmd"
else
# Do not store the command(s) as a variable, to avoid issues when importing large files
@@ -988,7 +992,10 @@ mysql_healthcheck() {
root_password="$(get_master_env_var_value ROOT_PASSWORD)"
if [[ -n "$root_password" ]]; then
args+=("-p${root_password}")
# Avoid passing credentials as arguments to mysqladmin, to avoid leaking them given a local observer with /proc read access can read them
local root_password_file
root_password_file="$(credential_to_temp_file "$root_password")"
args+=("-p$(<"$root_password_file")")
fi
mysqladmin "${args[@]}" ping && mysqladmin "${args[@]}" status