mirror of
https://github.com/bitnami/containers.git
synced 2026-04-02 15:27:45 +08:00
[bitnami/mediawiki] Release 1.39.1-debian-11-r21 (#24331)
Signed-off-by: Bitnami Containers <bitnami-bot@vmware.com>
This commit is contained in:
@@ -2,11 +2,11 @@ FROM docker.io/bitnami/minideb:bullseye
|
||||
|
||||
ARG TARGETARCH
|
||||
|
||||
LABEL org.opencontainers.image.authors="https://bitnami.com/contact" \
|
||||
org.opencontainers.image.description="Application packaged by Bitnami" \
|
||||
LABEL org.opencontainers.image.base.name="docker.io/bitnami/minideb:bullseye" \
|
||||
org.opencontainers.image.created="2023-02-17T16:20:05Z" \
|
||||
org.opencontainers.image.description="Application packaged by VMware, Inc" \
|
||||
org.opencontainers.image.licenses="Apache-2.0" \
|
||||
org.opencontainers.image.ref.name="1.39.1-debian-11-r20" \
|
||||
org.opencontainers.image.source="https://github.com/bitnami/containers/tree/main/bitnami/mediawiki" \
|
||||
org.opencontainers.image.ref.name="1.39.1-debian-11-r21" \
|
||||
org.opencontainers.image.title="mediawiki" \
|
||||
org.opencontainers.image.vendor="VMware, Inc." \
|
||||
org.opencontainers.image.version="1.39.1"
|
||||
@@ -22,13 +22,13 @@ SHELL ["/bin/bash", "-o", "pipefail", "-c"]
|
||||
RUN install_packages acl ca-certificates curl libaudit1 libbrotli1 libbsd0 libbz2-1.0 libcap-ng0 libcom-err2 libcrypt1 libcurl4 libexpat1 libffi7 libfftw3-double3 libfontconfig1 libfreetype6 libgcc-s1 libgcrypt20 libglib2.0-0 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed6 libicu67 libidn2-0 libjpeg62-turbo libk5crypto3 libkeyutils1 libkrb5-3 libkrb5support0 liblcms2-2 libldap-2.4-2 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 libssl1.1 libstdc++6 libsybdb5 libtasn1-6 libtidy5deb1 libtinfo6 libunistring2 libuuid1 libwebp6 libx11-6 libxau6 libxcb1 libxdmcp6 libxext6 libxml2 libxslt1.1 libzip4 procps zlib1g
|
||||
RUN mkdir -p /tmp/bitnami/pkg/cache/ && cd /tmp/bitnami/pkg/cache/ && \
|
||||
COMPONENTS=( \
|
||||
"php-8.1.16-0-linux-${OS_ARCH}-debian-11" \
|
||||
"apache-2.4.55-4-linux-${OS_ARCH}-debian-11" \
|
||||
"mysql-client-10.6.12-0-linux-${OS_ARCH}-debian-11" \
|
||||
"libphp-8.1.16-0-linux-${OS_ARCH}-debian-11" \
|
||||
"render-template-1.0.5-0-linux-${OS_ARCH}-debian-11" \
|
||||
"mediawiki-1.39.1-2-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-1-linux-${OS_ARCH}-debian-11" \
|
||||
"php-8.1.16-1-linux-${OS_ARCH}-debian-11" \
|
||||
"apache-2.4.55-5-linux-${OS_ARCH}-debian-11" \
|
||||
"mysql-client-10.6.12-1-linux-${OS_ARCH}-debian-11" \
|
||||
"libphp-8.1.16-1-linux-${OS_ARCH}-debian-11" \
|
||||
"render-template-1.0.5-1-linux-${OS_ARCH}-debian-11" \
|
||||
"mediawiki-1.39.1-3-linux-${OS_ARCH}-debian-11" \
|
||||
"gosu-1.16.0-2-linux-${OS_ARCH}-debian-11" \
|
||||
) && \
|
||||
for COMPONENT in "${COMPONENTS[@]}"; do \
|
||||
if [ ! -f "${COMPONENT}.tar.gz" ]; then \
|
||||
|
||||
@@ -1,51 +1,51 @@
|
||||
{
|
||||
"apache": {
|
||||
"arch": "amd64",
|
||||
"digest": "6937b37eaae1a0053c097ae04509cf3ccc4d260dd5fe010572753c3e8b22470d",
|
||||
"digest": "a1afe61b7489ffb908895a02d0ce3b8771005a61489c35bef21101bb87b00a9d",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "2.4.55-4"
|
||||
"version": "2.4.55-5"
|
||||
},
|
||||
"gosu": {
|
||||
"arch": "amd64",
|
||||
"digest": "9ab9654690d90d3c49ff66fb1eb286487e318adc899d036bc45922f6b176865b",
|
||||
"digest": "f6056076afb745fd7d9d87d20f71e7248d63330352cf5ae0be2130b7f44a8cfa",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.16.0-1"
|
||||
"version": "1.16.0-2"
|
||||
},
|
||||
"libphp": {
|
||||
"arch": "amd64",
|
||||
"digest": "8d240182cda57e7a1ee29ced829e84c5b7867615e5d42f7f14eef53b4fb19bed",
|
||||
"digest": "40f8ff7fad078e7349445015793cfe59e47a6590880dd216e0f33739e681cf9d",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "8.1.16-0"
|
||||
"version": "8.1.16-1"
|
||||
},
|
||||
"mediawiki": {
|
||||
"arch": "amd64",
|
||||
"digest": "c76575a972d72d6fffb40af99460bb2b185b84eb7981e0b1cdfc9939d9c73b14",
|
||||
"digest": "f87d80520cb54ea5163c87b2c02ddd392b6bc3c2790db9852cbfa282bfc3ea74",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.39.1-2"
|
||||
"version": "1.39.1-3"
|
||||
},
|
||||
"mysql-client": {
|
||||
"arch": "amd64",
|
||||
"digest": "f1d55c82fe67003513561ab0b4c91f2e7699d4eaaa5d417dc4ed6be50cb4cbed",
|
||||
"digest": "dbc087bd90a6387956751464da45660229b3e7349b96099805e61dcbc2514853",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "10.6.12-0"
|
||||
"version": "10.6.12-1"
|
||||
},
|
||||
"php": {
|
||||
"arch": "amd64",
|
||||
"digest": "cf3db32904b1b7359117477538ab174df76b2f065e5de5495ba223a8f21f40cd",
|
||||
"digest": "928131776dab0ecb6d22ccc2b0b5f790fa6886419b60f9b4beb489f70dc76342",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "8.1.16-0"
|
||||
"version": "8.1.16-1"
|
||||
},
|
||||
"render-template": {
|
||||
"arch": "amd64",
|
||||
"digest": "57c1d857acbb187fcb98f4ba26d138af9d866f59ad38dd443a75c0a6422de994",
|
||||
"digest": "185e277977366ec222d2bde1a395ffa138ce1a9d3bdf1df20c3e49e8b8f9c68b",
|
||||
"distro": "debian-11",
|
||||
"type": "NAMI",
|
||||
"version": "1.0.5-0"
|
||||
"version": "1.0.5-1"
|
||||
}
|
||||
}
|
||||
@@ -92,7 +92,7 @@ docker network create mediawiki-network
|
||||
#### Step 2: Create a volume for MariaDB persistence and create a MariaDB container
|
||||
|
||||
```console
|
||||
docker volume create --name mariadb_data
|
||||
$ docker volume create --name mariadb_data
|
||||
docker run -d --name mariadb \
|
||||
--env ALLOW_EMPTY_PASSWORD=yes \
|
||||
--env MARIADB_USER=bn_mediawiki \
|
||||
@@ -106,7 +106,7 @@ docker run -d --name mariadb \
|
||||
#### Step 3: Create volumes for MediaWiki persistence and launch the container
|
||||
|
||||
```console
|
||||
docker volume create --name mediawiki_data
|
||||
$ docker volume create --name mediawiki_data
|
||||
docker run -d --name mediawiki \
|
||||
-p 8080:8080 -p 8443:8443 \
|
||||
--env ALLOW_EMPTY_PASSWORD=yes \
|
||||
@@ -193,7 +193,7 @@ docker run -d --name mediawiki \
|
||||
|
||||
## Configuration
|
||||
|
||||
## Environment variables
|
||||
### Environment variables
|
||||
|
||||
When you start the MediaWiki image, you can adjust the configuration of the instance by passing one or more environment variables either on the docker-compose file or on the `docker run` command line. If you want to add a new environment variable:
|
||||
|
||||
@@ -219,7 +219,7 @@ mediawiki:
|
||||
|
||||
Available variables:
|
||||
|
||||
### User and Site configuration
|
||||
#### User and Site configuration
|
||||
|
||||
* `MEDIAWIKI_USERNAME`: MediaWiki application username. Default: **user**
|
||||
* `MEDIAWIKI_PASSWORD`: MediaWiki application password. Default: **bitnami123** (min 10 characters, alphanumeric, no special characters)
|
||||
@@ -230,7 +230,7 @@ Available variables:
|
||||
* `MEDIAWIKI_EXTERNAL_HTTPS_PORT_NUMBER`: Port to used by MediaWiki to generate URLs and links when accessing using HTTPS. Default **443**.
|
||||
* `MEDIAWIKI_ENABLE_HTTPS`: Whether to use HTTPS by default. Default: **no**.
|
||||
|
||||
### Use an existing database
|
||||
#### Use an existing database
|
||||
|
||||
* `MEDIAWIKI_DATABASE_HOST`: Hostname for MariaDB server. Default: **mariadb**
|
||||
* `MEDIAWIKI_DATABASE_PORT_NUMBER`: Port used by MariaDB server. Default: **3306**
|
||||
@@ -239,7 +239,7 @@ Available variables:
|
||||
* `MEDIAWIKI_DATABASE_PASSWORD`: Database password that MediaWiki will use to connect with the database. No defaults.
|
||||
* `ALLOW_EMPTY_PASSWORD`: It can be used to allow blank passwords. Default: **no**
|
||||
|
||||
### Create a database for MediaWiki using mysql-client
|
||||
#### Create a database for MediaWiki using mysql-client
|
||||
|
||||
* `MYSQL_CLIENT_FLAVOR`: SQL database flavor. Valid values: `mariadb` or `mysql`. Default: **mariadb**.
|
||||
* `MYSQL_CLIENT_DATABASE_HOST`: Hostname for MariaDB server. Default: **mariadb**
|
||||
@@ -259,7 +259,7 @@ Available variables:
|
||||
* `MYSQL_CLIENT_SSL_KEY_FILE`: Path to the SSL CA file for the new database. No defaults
|
||||
* `ALLOW_EMPTY_PASSWORD`: It can be used to allow blank passwords. Default: **no**
|
||||
|
||||
### SMTP Configuration
|
||||
#### SMTP Configuration
|
||||
|
||||
To configure MediaWiki to send email using SMTP you can set the following environment variables:
|
||||
|
||||
@@ -270,7 +270,7 @@ To configure MediaWiki to send email using SMTP you can set the following enviro
|
||||
* `MEDIAWIKI_SMTP_PASSWORD`: SMTP account password (if being used).
|
||||
* `MEDIAWIKI_ENABLE_SMTP_AUTH`: Whether to use authentication for SMTP server. Valid values: `yes`, `no`. Default: **yes**
|
||||
|
||||
### PHP configuration
|
||||
#### PHP configuration
|
||||
|
||||
* `PHP_ENABLE_OPCACHE`: Enable OPcache for PHP scripts. No default.
|
||||
* `PHP_EXPOSE_PHP`: Enables HTTP header with PHP version. No default.
|
||||
@@ -281,7 +281,7 @@ To configure MediaWiki to send email using SMTP you can set the following enviro
|
||||
* `PHP_POST_MAX_SIZE`: Maximum size for PHP POST requests. No default.
|
||||
* `PHP_UPLOAD_MAX_FILESIZE`: Maximum file size for PHP uploads. No default.
|
||||
|
||||
### Example
|
||||
#### Example
|
||||
|
||||
This would be an example of SMTP configuration using a GMail account:
|
||||
|
||||
@@ -324,12 +324,12 @@ If you require better quality thumbnails for your uploaded images, you may want
|
||||
|
||||
1. Create the following Dockerfile
|
||||
|
||||
```Dockerfile
|
||||
FROM bitnami/mediawiki:latest
|
||||
USER root
|
||||
RUN install_packages imagemagick
|
||||
USER 1001
|
||||
```
|
||||
```Dockerfile
|
||||
FROM bitnami/mediawiki:latest
|
||||
USER root
|
||||
RUN install_packages imagemagick
|
||||
USER 1001
|
||||
```
|
||||
|
||||
2. Build the docker image
|
||||
|
||||
@@ -471,7 +471,7 @@ Restoring a backup is as simple as mounting the backup as volumes in the contain
|
||||
For the MariaDB database container:
|
||||
|
||||
```diff
|
||||
docker run -d --name mariadb \
|
||||
$ docker run -d --name mariadb \
|
||||
...
|
||||
- --volume /path/to/mariadb-persistence:/bitnami/mariadb \
|
||||
+ --volume /path/to/mariadb-backups/latest:/bitnami/mariadb \
|
||||
@@ -481,7 +481,7 @@ For the MariaDB database container:
|
||||
For the MediaWiki container:
|
||||
|
||||
```diff
|
||||
docker run -d --name mediawiki \
|
||||
$ docker run -d --name mediawiki \
|
||||
...
|
||||
- --volume /path/to/mediawiki-persistence:/bitnami/mediawiki \
|
||||
+ --volume /path/to/mediawiki-backups/latest:/bitnami/mediawiki \
|
||||
|
||||
Reference in New Issue
Block a user