mirror of
https://github.com/bitnami/containers.git
synced 2026-10-21 11:11:33 +02:00
[bitnami/redmine] Release 6.1.2-debian-12-r20 (#94308)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -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-06-03T02:40:20Z" \
|
||||
org.opencontainers.image.created="2026-06-04T08:03:32Z" \
|
||||
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" \
|
||||
@@ -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="19" \
|
||||
IMAGE_REVISION="20" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/mariadb/lib:/opt/bitnami/postgresql/lib" \
|
||||
PATH="/opt/bitnami/ruby/bin:/opt/bitnami/common/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/mysql/bin:$PATH"
|
||||
|
||||
|
||||
@@ -263,12 +263,6 @@ mysql_execute_print_output() {
|
||||
fi
|
||||
args+=("-N" "-u" "$user")
|
||||
[[ -n "$db" ]] && args+=("$db")
|
||||
# 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[@]}")
|
||||
|
||||
@@ -276,11 +270,19 @@ mysql_execute_print_output() {
|
||||
if [[ "${BITNAMI_DEBUG:-false}" = true ]]; then
|
||||
local mysql_cmd
|
||||
mysql_cmd="$(</dev/stdin)"
|
||||
"$(mysql_binary)" "${args[@]}" <<<"$mysql_cmd"
|
||||
if [[ -n "$pass" ]]; then
|
||||
MYSQL_PWD="$pass" "$(mysql_binary)" "${args[@]}" <<<"$mysql_cmd"
|
||||
else
|
||||
"$(mysql_binary)" "${args[@]}" <<<"$mysql_cmd"
|
||||
fi
|
||||
else
|
||||
# Do not store the command(s) as a variable, to avoid issues when importing large files
|
||||
# https://github.com/bitnami/bitnami-docker-mariadb/issues/251
|
||||
"$(mysql_binary)" "${args[@]}"
|
||||
if [[ -n "$pass" ]]; then
|
||||
MYSQL_PWD="$pass" "$(mysql_binary)" "${args[@]}"
|
||||
else
|
||||
"$(mysql_binary)" "${args[@]}"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -992,13 +994,10 @@ mysql_healthcheck() {
|
||||
|
||||
root_password="$(get_master_env_var_value ROOT_PASSWORD)"
|
||||
if [[ -n "$root_password" ]]; then
|
||||
# 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")")
|
||||
MYSQL_PWD="$root_password" mysqladmin "${args[@]}" ping && MYSQL_PWD="$root_password" mysqladmin "${args[@]}" status
|
||||
else
|
||||
mysqladmin "${args[@]}" ping && mysqladmin "${args[@]}" status
|
||||
fi
|
||||
|
||||
mysqladmin "${args[@]}" ping && mysqladmin "${args[@]}" status
|
||||
}
|
||||
|
||||
########################
|
||||
|
||||
Reference in New Issue
Block a user