[bitnami/rails] Release 8.0.2-1-debian-12-r1 (#86599)

Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
Bitnami Bot
2025-09-29 12:53:39 +02:00
committed by GitHub
parent fcab0d6450
commit 8209c95656
3 changed files with 17 additions and 7 deletions

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="2025-09-09T09:55:57Z" \
org.opencontainers.image.created="2025-09-29T10:29:50Z" \
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/rails/README.md" \
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/rails" \
@@ -27,10 +27,10 @@ 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.13.7-0-linux-${OS_ARCH}-debian-12" \
"python-3.13.7-2-linux-${OS_ARCH}-debian-12" \
"wait-for-port-1.0.10-1-linux-${OS_ARCH}-debian-12" \
"ruby-3.2.9-1-linux-${OS_ARCH}-debian-12" \
"node-24.7.0-0-linux-${OS_ARCH}-debian-12" \
"ruby-3.2.9-2-linux-${OS_ARCH}-debian-12" \
"node-24.9.0-0-linux-${OS_ARCH}-debian-12" \
"mysql-client-12.0.2-0-linux-${OS_ARCH}-debian-12" \
"rails-8.0.2-1-0-linux-${OS_ARCH}-debian-12" \
) ; \
@@ -52,7 +52,7 @@ COPY rootfs /
RUN /opt/bitnami/scripts/rails/postunpack.sh
ENV APP_VERSION="8.0.2-1" \
BITNAMI_APP_NAME="rails" \
IMAGE_REVISION="0" \
IMAGE_REVISION="1" \
PATH="/opt/bitnami/python/bin:/opt/bitnami/common/bin:/opt/bitnami/ruby/bin:/opt/bitnami/node/bin:/opt/bitnami/mysql/bin:$PATH"
EXPOSE 3000

View File

@@ -259,6 +259,8 @@ generate_systemd_conf() {
local success_exit_status=""
local custom_service_content=""
local working_directory=""
local timeout_start_sec="2min"
local timeout_stop_sec="30s"
# Parse CLI flags
shift
while [[ "$#" -gt 0 ]]; do
@@ -277,6 +279,8 @@ generate_systemd_conf() {
| --success-exit-status \
| --custom-service-content \
| --working-directory \
| --timeout-start-sec \
| --timeout-stop-sec \
)
var_name="$(echo "$1" | sed -e "s/^--//" -e "s/-/_/g")"
shift
@@ -402,8 +406,8 @@ EOF
fi
cat >> "$service_file" <<EOF
# Optimizations
TimeoutStartSec=2min
TimeoutStopSec=30s
TimeoutStartSec=${timeout_start_sec}
TimeoutStopSec=${timeout_stop_sec}
IgnoreSIGPIPE=no
KillMode=mixed
EOF

View File

@@ -162,6 +162,12 @@ Following are a few examples of launching some commonly used Rails development c
### Read-only environment variables
### FIPS configuration in Bitnami Secure Images
The Bitnami Rails Docker image from the [Bitnami Secure Images](https://www.arrow.com/globalecs/uk/products/bitnami-secure-images/) catalog includes extra features and settings to configure the container with FIPS capabilities. You can configure the next environment variables:
- `OPENSSL_FIPS`: whether OpenSSL runs in FIPS mode or not. `yes` (default), `no`.
## Configuring your database
You can configure the MariaDB hostname and database name to use for development purposes using the environment variables **DATABASE_HOST** & **DATABASE_NAME**.