mirror of
https://github.com/bitnami/containers.git
synced 2026-03-14 06:48:11 +08:00
[bitnami/wordpress-nginx] Release 6.8.1-debian-12-r4 (#82493)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -8,10 +8,10 @@ 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-05-30T16:18:28Z" \
|
||||
org.opencontainers.image.created="2025-06-20T08:23:02Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/wordpress-nginx/README.md" \
|
||||
org.opencontainers.image.ref.name="6.8.1-debian-12-r3" \
|
||||
org.opencontainers.image.ref.name="6.8.1-debian-12-r4" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/wordpress-nginx" \
|
||||
org.opencontainers.image.title="wordpress-nginx" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
@@ -26,13 +26,15 @@ COPY prebuildfs /
|
||||
SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
# Install required system packages and dependencies
|
||||
RUN install_packages acl ca-certificates curl gettext less libaudit1 libbrotli1 libbsd0 libbz2-1.0 libcap-ng0 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi8 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libgeoip1 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhashkit2 libhogweed6 libicu72 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.5-0 liblqr-1-0 libltdl7 liblzma5 libmagickcore-6.q16-6 libmagickwand-6.q16-6 libmd0 libmemcached11 libncurses6 libnettle8 libnghttp2-14 libonig5 libp11-kit0 libpam0g libpcre2-8-0 libpcre3 libpng16-16 libpq5 libpsl5 libreadline8 librtmp1 libsasl2-2 libsodium23 libsqlite3-0 libssh2-1 libssl3 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libwebp7 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 libzstd1 openssl procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
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=( \
|
||||
"render-template-1.0.7-16-linux-${OS_ARCH}-debian-12" \
|
||||
"php-8.2.28-8-linux-${OS_ARCH}-debian-12" \
|
||||
"render-template-1.0.8-0-linux-${OS_ARCH}-debian-12" \
|
||||
"php-8.2.28-11-linux-${OS_ARCH}-debian-12" \
|
||||
"nginx-1.28.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mysql-client-11.4.7-0-linux-${OS_ARCH}-debian-12" \
|
||||
"wordpress-nginx-6.8.1-1-linux-${OS_ARCH}-debian-12" \
|
||||
"wordpress-nginx-6.8.1-2-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -47,6 +49,7 @@ RUN apt-get update && apt-get upgrade -y && \
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
RUN chmod g+rwX /opt/bitnami
|
||||
RUN find / -perm /6000 -type f -exec chmod a-s {} \; || true
|
||||
RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
||||
|
||||
@@ -15,18 +15,18 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "8.2.28-8"
|
||||
"version": "8.2.28-11"
|
||||
},
|
||||
"render-template": {
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.7-16"
|
||||
"version": "1.0.8-0"
|
||||
},
|
||||
"wordpress-nginx": {
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "6.8.1-1"
|
||||
"version": "6.8.1-2"
|
||||
}
|
||||
}
|
||||
26
bitnami/wordpress-nginx/6/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/wordpress-nginx/6/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
@@ -0,0 +1,26 @@
|
||||
#!/bin/sh
|
||||
# Copyright Broadcom, Inc. All Rights Reserved.
|
||||
# SPDX-License-Identifier: APACHE-2.0
|
||||
set -eu
|
||||
|
||||
n=0
|
||||
max=2
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
until [ $n -gt $max ]; do
|
||||
set +e
|
||||
(
|
||||
apt-get autoremove --purge -y "$@"
|
||||
)
|
||||
CODE=$?
|
||||
set -e
|
||||
if [ $CODE -eq 0 ]; then
|
||||
break
|
||||
fi
|
||||
if [ $n -eq $max ]; then
|
||||
exit $CODE
|
||||
fi
|
||||
echo "apt failed, retrying"
|
||||
n=$(($n + 1))
|
||||
done
|
||||
apt-get clean && rm -rf /var/lib/apt/lists /var/cache/apt/archives
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -137,13 +137,13 @@ This requires a minor change to the [`docker-compose.yml`](https://github.com/bi
|
||||
mariadb:
|
||||
...
|
||||
volumes:
|
||||
- - 'mariadb_data:/bitnami/mariadb'
|
||||
- - mariadb_data:/bitnami/mariadb
|
||||
+ - /path/to/mariadb-persistence:/bitnami/mariadb
|
||||
...
|
||||
wordpress:
|
||||
...
|
||||
volumes:
|
||||
- - 'wordpress_data:/bitnami/wordpress'
|
||||
- - wordpress_data:/bitnami/wordpress
|
||||
+ - /path/to/wordpress-persistence:/bitnami/wordpress
|
||||
...
|
||||
-volumes:
|
||||
@@ -552,10 +552,10 @@ Based on the extended image, you can update the [`docker-compose.yml`](https://g
|
||||
- image: bitnami/wordpress-nginx:latest
|
||||
+ build: .
|
||||
ports:
|
||||
- - '80:8080'
|
||||
- - '443:8443'
|
||||
+ - '80:8181'
|
||||
+ - '443:8143'
|
||||
- - 80:8080
|
||||
- - 443:8443
|
||||
+ - 80:8181
|
||||
+ - 443:8143
|
||||
environment:
|
||||
+ - PHP_MEMORY_LIMIT=512m
|
||||
...
|
||||
|
||||
Reference in New Issue
Block a user