mirror of
https://github.com/bitnami/containers.git
synced 2026-02-10 21:27:26 +08:00
[bitnami/moodle] Release 5.0.1-debian-12-r0 (#82131)
Signed-off-by: Bitnami Bot <bitnami.bot@broadcom.com>
This commit is contained in:
@@ -10,14 +10,14 @@ ARG WITH_ALL_LOCALES="no"
|
||||
|
||||
LABEL com.vmware.cp.artifact.flavor="sha256:c50c90cfd9d12b445b011e6ad529f1ad3daea45c26d20b00732fae3cd71f6a83" \
|
||||
org.opencontainers.image.base.name="docker.io/bitnami/minideb:bookworm" \
|
||||
org.opencontainers.image.created="2025-05-30T15:23:39Z" \
|
||||
org.opencontainers.image.created="2025-06-09T10:47:02Z" \
|
||||
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.ref.name="5.0.0-debian-12-r4" \
|
||||
org.opencontainers.image.ref.name="5.0.1-debian-12-r0" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/moodle" \
|
||||
org.opencontainers.image.title="moodle" \
|
||||
org.opencontainers.image.vendor="Broadcom, Inc." \
|
||||
org.opencontainers.image.version="5.0.0"
|
||||
org.opencontainers.image.version="5.0.1"
|
||||
|
||||
ENV OS_ARCH="${TARGETARCH:-amd64}" \
|
||||
OS_FLAVOUR="debian-12" \
|
||||
@@ -29,13 +29,13 @@ SHELL ["/bin/bash", "-o", "errexit", "-o", "nounset", "-o", "pipefail", "-c"]
|
||||
RUN install_packages acl ca-certificates cron curl libaudit1 libbrotli1 libbsd0 libbz2-1.0 libcap-ng0 libcom-err2 libcrypt1 libcurl4 libedit2 libexpat1 libffi8 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 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 libuuid1 libwebp7 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 libzstd1 locales openssl procps zlib1g
|
||||
RUN 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" \
|
||||
"render-template-1.0.7-17-linux-${OS_ARCH}-debian-12" \
|
||||
"php-8.2.28-8-linux-${OS_ARCH}-debian-12" \
|
||||
"apache-2.4.63-4-linux-${OS_ARCH}-debian-12" \
|
||||
"apache-2.4.63-5-linux-${OS_ARCH}-debian-12" \
|
||||
"postgresql-client-13.21.0-0-linux-${OS_ARCH}-debian-12" \
|
||||
"mysql-client-11.4.7-0-linux-${OS_ARCH}-debian-12" \
|
||||
"libphp-8.2.28-2-linux-${OS_ARCH}-debian-12" \
|
||||
"moodle-5.0.0-1-linux-${OS_ARCH}-debian-12" \
|
||||
"moodle-5.0.1-0-linux-${OS_ARCH}-debian-12" \
|
||||
) ; \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
@@ -54,6 +54,7 @@ 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 uninstall_packages curl
|
||||
|
||||
COPY rootfs /
|
||||
RUN update-locale LANG=C.UTF-8 LC_MESSAGES=POSIX && \
|
||||
@@ -68,7 +69,7 @@ RUN /opt/bitnami/scripts/moodle/postunpack.sh
|
||||
RUN /opt/bitnami/scripts/mysql-client/postunpack.sh
|
||||
ENV APACHE_HTTPS_PORT_NUMBER="" \
|
||||
APACHE_HTTP_PORT_NUMBER="" \
|
||||
APP_VERSION="5.0.0" \
|
||||
APP_VERSION="5.0.1" \
|
||||
BITNAMI_APP_NAME="moodle" \
|
||||
LANG="en_US.UTF-8" \
|
||||
LANGUAGE="en_US:en" \
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "2.4.63-4"
|
||||
"version": "2.4.63-5"
|
||||
},
|
||||
"libphp": {
|
||||
"arch": "amd64",
|
||||
@@ -15,7 +15,7 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "5.0.0-1"
|
||||
"version": "5.0.1-0"
|
||||
},
|
||||
"mysql-client": {
|
||||
"arch": "amd64",
|
||||
@@ -39,6 +39,6 @@
|
||||
"arch": "amd64",
|
||||
"distro": "debian-12",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.7-16"
|
||||
"version": "1.0.7-17"
|
||||
}
|
||||
}
|
||||
26
bitnami/moodle/5.0/debian-12/prebuildfs/usr/sbin/uninstall_packages
Executable file
26
bitnami/moodle/5.0/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
|
||||
@@ -1,5 +1,5 @@
|
||||
rolling-tags:
|
||||
- "5.0"
|
||||
- 5.0-debian-12
|
||||
- 5.0.0
|
||||
- 5.0.1
|
||||
- latest
|
||||
|
||||
@@ -139,15 +139,15 @@ 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
|
||||
...
|
||||
moodle:
|
||||
...
|
||||
volumes:
|
||||
- - 'moodle_data:/bitnami/moodle'
|
||||
- - moodle_data:/bitnami/moodle
|
||||
+ - /path/to/moodle-persistence:/bitnami/moodle
|
||||
- - 'moodledata_data:/bitnami/moodledata'
|
||||
- - moodledata_data:/bitnami/moodledata
|
||||
+ - /path/to/moodledata-persistence:/bitnami/moodle
|
||||
...
|
||||
-volumes:
|
||||
@@ -348,7 +348,7 @@ To use `EXTRA_LOCALES`, you have two options:
|
||||
```yaml
|
||||
moodle:
|
||||
...
|
||||
# image: 'bitnami/moodle:latest' # remove this line !
|
||||
# image: bitnami/moodle:latest # remove this line !
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@@ -374,7 +374,7 @@ To use `WITH_ALL_LOCALES`, you have two options:
|
||||
```yaml
|
||||
moodle:
|
||||
...
|
||||
# image: 'bitnami/moodle:latest' # remove this line !
|
||||
# image: bitnami/moodle:latest # remove this line !
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
@@ -562,10 +562,10 @@ Based on the extended image, you can update the [`docker-compose.yml`](https://g
|
||||
- image: bitnami/moodle: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