mirror of
https://github.com/bitnami/containers.git
synced 2026-10-21 11:11:33 +02:00
[bitnami/moodle] Release 5.0.2-debian-12-r5 (#87068)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -9,7 +9,7 @@ ARG TARGETARCH
|
||||
ARG WITH_ALL_LOCALES="no"
|
||||
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-09-14T06:17:28Z" \
|
||||
org.opencontainers.image.created="2025-10-07T13:35:54Z" \
|
||||
org.opencontainers.image.description="Application packaged by Broadcom, Inc." \
|
||||
org.opencontainers.image.documentation="https://github.com/bitnami/containers/tree/main/bitnami/moodle/README.md" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/moodle" \
|
||||
@@ -30,7 +30,7 @@ RUN --mount=type=secret,id=downloads_url,env=SECRET_DOWNLOADS_URL \
|
||||
mkdir -p /tmp/bitnami/pkg/cache/ ; cd /tmp/bitnami/pkg/cache/ || exit 1 ; \
|
||||
COMPONENTS=( \
|
||||
"render-template-1.0.9-156-linux-${OS_ARCH}-debian-12" \
|
||||
"php-8.2.29-8-linux-${OS_ARCH}-debian-12" \
|
||||
"php-8.2.29-12-linux-${OS_ARCH}-debian-12" \
|
||||
"apache-2.4.65-1-linux-${OS_ARCH}-debian-12" \
|
||||
"postgresql-client-13.22.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mysql-client-12.0.2-0-linux-${OS_ARCH}-debian-12" \
|
||||
@@ -54,14 +54,10 @@ RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
||||
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales && \
|
||||
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
|
||||
RUN echo 'en_AU.UTF-8 UTF-8' >> /etc/locale.gen
|
||||
RUN /opt/bitnami/scripts/locales/generate-locales.sh
|
||||
RUN uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
||||
DEBIAN_FRONTEND=noninteractive dpkg-reconfigure locales && \
|
||||
echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen
|
||||
RUN echo 'en_AU.UTF-8 UTF-8' >> /etc/locale.gen
|
||||
RUN /opt/bitnami/scripts/locales/generate-locales.sh
|
||||
RUN /opt/bitnami/scripts/apache/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/php/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/apache-modphp/postunpack.sh
|
||||
@@ -71,7 +67,7 @@ ENV APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
APP_VERSION="5.0.2" \
|
||||
BITNAMI_APP_NAME="moodle" \
|
||||
IMAGE_REVISION="4" \
|
||||
IMAGE_REVISION="5" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
PATH="/opt/bitnami/common/bin:/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/opt/bitnami/apache/bin:/opt/bitnami/postgresql/bin:/opt/bitnami/mysql/bin:$PATH"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -405,6 +405,12 @@ RUN echo "es_ES.UTF-8 UTF-8" >> /etc/locale.gen && locale-gen
|
||||
|
||||
Bear in mind that in the example above `es_ES.UTF-8 UTF-8` is the locale needed for the desired Language Pack to install. You may change this value to the locale corresponding to your pack.
|
||||
|
||||
### FIPS configuration in Bitnami Secure Images
|
||||
|
||||
The Bitnami Bitnami LMS powered by Moodle™ LMS 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`.
|
||||
|
||||
## Logging
|
||||
|
||||
The Bitnami Docker image for Moodle™ sends the container logs to `stdout`. To view the logs:
|
||||
|
||||
Reference in New Issue
Block a user