mirror of
https://github.com/bitnami/containers.git
synced 2026-10-17 09:39:44 +02:00
[bitnami/discourse] Release 2026.7.0-debian-12-r0 (#95334)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -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-24T18:24:54Z" \
|
||||
org.opencontainers.image.created="2026-07-08T16:51:20Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/discourse/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/discourse" \
|
||||
org.opencontainers.image.title="discourse" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="2026.6.0"
|
||||
org.opencontainers.image.version="2026.7.0"
|
||||
|
||||
ENV OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
OS_FLAVOUR="debian-12" \
|
||||
@@ -27,13 +27,13 @@ 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=( \
|
||||
"python-3.12.13-16-linux-${OS_ARCH}-debian-12" \
|
||||
"wait-for-port-1.0.10-13-linux-${OS_ARCH}-debian-12" \
|
||||
"ruby-3.4.9-5-linux-${OS_ARCH}-debian-12" \
|
||||
"python-3.12.13-17-linux-${OS_ARCH}-debian-12" \
|
||||
"wait-for-port-1.0.10-14-linux-${OS_ARCH}-debian-12" \
|
||||
"ruby-3.4.10-0-linux-${OS_ARCH}-debian-12" \
|
||||
"postgresql-client-18.4.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"node-22.23.1-0-linux-${OS_ARCH}-debian-12" \
|
||||
"node-22.23.1-1-linux-${OS_ARCH}-debian-12" \
|
||||
"brotli-1.2.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"discourse-2026.6.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"discourse-2026.7.0-1-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -52,9 +52,9 @@ RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN /opt/bitnami/scripts/discourse/postunpack.sh
|
||||
ENV APP_VERSION="2026.6.0" \
|
||||
ENV APP_VERSION="2026.7.0" \
|
||||
BITNAMI_APP_NAME="discourse" \
|
||||
IMAGE_REVISION="1" \
|
||||
IMAGE_REVISION="0" \
|
||||
LD_LIBRARY_PATH="/opt/bitnami/postgresql/lib" \
|
||||
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:/opt/bitnami/ruby/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/node/bin:/opt/bitnami/brotli/bin:$PATH"
|
||||
|
||||
|
||||
-1
@@ -1 +0,0 @@
|
||||
5f0ebd72498decc5785c2579deb9716e25206bfa2b3f11eb0afa79c36e86c4cd discourse-2026.6.0-0-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
1220dc2898e1fc9e7b6f4a77176ff60f650f608eb37d0f2f2d970ce43d5c362b discourse-2026.6.0-0-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
8b4baf84cd9b8964232e694d1e52d4c7d516ca37c1d94c968fc71bc4e5cae213 discourse-2026.7.0-1-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
23fb29a16193fae0ab1856227936ebcac027de8f071f0311640f83d5636e56ee discourse-2026.7.0-1-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
32c956ea3824404f191c17d00e6a6645b5840377347799666483ec491d064c3c node-22.23.1-0-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
39bd9507b6f9d8cb417dfc528709db27370a5d8b8916f1806a920bfde6099c5d node-22.23.1-0-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
1e812d128f34bbfc1fd342fbdcd68256df5491173984323d9bdbc402be110d5d node-22.23.1-1-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
ee3b5ef5569200043c5b3776afc85e5e1789988a349aac59498974ef9c3e5866 node-22.23.1-1-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
383ae25265a900b0c678de59a1ddb7687b971aeca4bc5d22fda63204e318de70 python-3.12.13-16-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
d561b865f8edbade9b720b92e8c1a9eb3500de9f177acd8a8e2a56007ca83189 python-3.12.13-16-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
f07a8524f57799c1d74df5cae556fc608bcda628208825e2f0dde2007faada68 python-3.12.13-17-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
73dc1b75dbbec5c52d101473863d4cafd19c08a45b8bf6c30da65eafa68aabe5 python-3.12.13-17-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
075d33725f53db97c4fcae0663e25894f42a8a32aae1870f967c131b80dcc439 ruby-3.4.10-0-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
6688fcb05af8b4b94cf750d0c62b6e9261e782af81fa0a9c543d8d7afe9d9266 ruby-3.4.10-0-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
2a708cb9e4f4c4b6f016a6e86886204de4cb8e6c797d92cec9c99d8457211475 ruby-3.4.9-5-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
5f2cac1081fab94d1a0d82a3fa008bf50f3a709ec0add00f854da70d4d2f5364 ruby-3.4.9-5-linux-arm64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
a6e453ebb01a25354771584cac544f1c7142ffcf81b9d88fb0ab5d5e9d23ba54 wait-for-port-1.0.10-13-linux-amd64-debian-12.tar.gz
|
||||
-1
@@ -1 +0,0 @@
|
||||
e10e80f03ddd46d5fa479f3ca6cf24e6317540202cb244769167a91b3afbc9fc wait-for-port-1.0.10-13-linux-arm64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
4ea516dd6f57b3b33883e810ddb8b4dafa310948100434fd5a6272364d44329f wait-for-port-1.0.10-14-linux-amd64-debian-12.tar.gz
|
||||
+1
@@ -0,0 +1 @@
|
||||
63a1be9dccbce0765fdaa60e122d8a683a72f28bcc418e3a4b4121174f3ecf4d wait-for-port-1.0.10-14-linux-arm64-debian-12.tar.gz
|
||||
@@ -424,3 +424,23 @@ EOF
|
||||
WantedBy=bitnami.service
|
||||
EOF
|
||||
}
|
||||
|
||||
########################
|
||||
# Register a SIGTERM handler that forwards the signal to all child processes.
|
||||
# Should be called at the start of run.sh, before launching any background processes.
|
||||
# Globals:
|
||||
# None
|
||||
# Arguments:
|
||||
# None
|
||||
# Returns:
|
||||
# None
|
||||
#########################
|
||||
service_register_term_forwarder() {
|
||||
_service_forward_term() {
|
||||
warn "Caught signal SIGTERM, passing it to child processes..."
|
||||
pgrep -P $$ | xargs kill -TERM 2>/dev/null
|
||||
wait
|
||||
exit $?
|
||||
}
|
||||
trap _service_forward_term TERM
|
||||
}
|
||||
|
||||
@@ -42,7 +42,7 @@ declare -a writable_dirs=(
|
||||
for dir in "${writable_dirs[@]}"; do
|
||||
ensure_dir_exists "$dir"
|
||||
# Use daemon:root ownership for compatibility when running as a non-root user
|
||||
configure_permissions_ownership "$dir" -d "775" -f "664" -u "$DISCOURSE_DAEMON_USER" -g "root"
|
||||
configure_permissions_ownership "$dir" -d "775" -f "664" -u "$DISCOURSE_DAEMON_USER" -g "root" -n
|
||||
done
|
||||
|
||||
# Gem 'sprockets' purposely includes a broken symlink, which causes permissions change to fail
|
||||
@@ -62,4 +62,4 @@ fi
|
||||
|
||||
# Required for running as non-root users, for persistence logic to work properly
|
||||
# Using g+rwx/g+rw instead of explicit 775/664 permissions because Discourse includes executable binaries in different subfolders
|
||||
configure_permissions_ownership "$DISCOURSE_BASE_DIR" -d "g+rwx" -f "g+rw" -u "$DISCOURSE_DAEMON_USER" -g "root"
|
||||
configure_permissions_ownership "$DISCOURSE_BASE_DIR" -d "g+rwx" -f "g+rw" -u "$DISCOURSE_DAEMON_USER" -g "root" -n
|
||||
|
||||
Reference in New Issue
Block a user