mirror of
https://github.com/bitnami/containers.git
synced 2026-04-06 09:17:43 +08:00
[bitnami/ghost] Release 5.125.0-debian-12-r0 (#82243)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,14 +8,14 @@ ARG TARGETARCH
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-06-10T22:17:11Z" \
|
||||
org.opencontainers.image.created="2025-06-13T00:40:31Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/ghost/README.md" \
|
||||
org.opencontainers.image.ref.name="5.123.0-debian-12-r0" \
|
||||
org.opencontainers.image.ref.name="5.125.0-debian-12-r0" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/ghost" \
|
||||
org.opencontainers.image.title="ghost" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="5.123.0"
|
||||
org.opencontainers.image.version="5.125.0"
|
||||
|
||||
ENV HOME="/" \
|
||||
OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
@@ -31,7 +31,7 @@ RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
"python-3.12.11-3-linux-${OS_ARCH}-debian-12" \
|
||||
"node-20.19.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mysql-client-11.4.7-0-linux-${OS_ARCH}-debian-12" \
|
||||
"ghost-5.123.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"ghost-5.125.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -50,7 +50,7 @@ RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/ghost/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
||||
ENV APP_VERSION="5.123.0" \
|
||||
ENV APP_VERSION="5.125.0" \
|
||||
BITNAMI_APP_NAME="ghost" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:/opt/bitnami/ghost/bin:$PATH"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "5.123.0-0"
|
||||
"version": "5.125.0-0"
|
||||
},
|
||||
"mysql-client": {
|
||||
"arch": "amd64",
|
||||
|
||||
@@ -158,6 +158,23 @@ EOF
|
||||
#
|
||||
# Library for mysql common
|
||||
|
||||
########################
|
||||
# Returns the path to the MySQL/MariaDB binary
|
||||
# Globals:
|
||||
# DB_*
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# Path to the MySQL/MariaDB binary
|
||||
#########################
|
||||
mysql_binary() {
|
||||
if [[ "${DB_FLAVOR:-mysql}" = "mariadb" ]]; then
|
||||
echo "${DB_BIN_DIR}/mariadb"
|
||||
else
|
||||
echo "${DB_BIN_DIR}/mysql"
|
||||
fi
|
||||
}
|
||||
|
||||
########################
|
||||
# Extract mysql version from version string
|
||||
# Globals:
|
||||
@@ -171,7 +188,7 @@ mysql_get_version() {
|
||||
local ver_string
|
||||
local -a ver_split
|
||||
|
||||
ver_string=$("${DB_BIN_DIR}/mysql" "--version")
|
||||
ver_string=$("$(mysql_binary)" "--version")
|
||||
read -r -a ver_split <<< "$ver_string"
|
||||
|
||||
if [[ "$ver_string" = *" Distrib "* ]]; then
|
||||
@@ -255,11 +272,11 @@ mysql_execute_print_output() {
|
||||
local mysql_cmd
|
||||
mysql_cmd="$(</dev/stdin)"
|
||||
debug "Executing SQL command:\n$mysql_cmd"
|
||||
"$DB_BIN_DIR/mysql" "${args[@]}" <<<"$mysql_cmd"
|
||||
"$(mysql_binary)" "${args[@]}" <<<"$mysql_cmd"
|
||||
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
|
||||
"$DB_BIN_DIR/mysql" "${args[@]}"
|
||||
"$(mysql_binary)" "${args[@]}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "5"
|
||||
- 5-debian-12
|
||||
- 5.123.0
|
||||
- 5.125.0
|
||||
- latest
|
||||
|
||||
Reference in New Issue
Block a user