Add mediawiki container

This commit is contained in:
Fritz Grimpen 2024-10-18 20:41:35 +00:00
parent 3884ad14cd
commit 02c87e4534

17
mediawiki/Containerfile Normal file
View file

@ -0,0 +1,17 @@
FROM alpine AS builder
ADD https://extdist.wmflabs.org/dist/extensions/MobileFrontend-REL1_42-a9969ab.tar.gz /usr/src/
RUN tar -xz -C /usr/src -f /usr/src/MobileFrontend-REL1_42-a9969ab.tar.gz
ADD https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_42-b35addc.tar.gz /usr/src/
RUN tar -xz -C /usr/src -f /usr/src/PluggableAuth-REL1_42-b35addc.tar.gz
ADD https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_42-83024de.tar.gz /usr/src/
RUN tar -xz -C /usr/src -f /usr/src/OpenIDConnect-REL1_42-83024de.tar.gz
FROM docker.io/mediawiki:1.42.3-fpm-alpine
COPY --from=builder --chown=www-data:www-data /usr/src/MobileFrontend extensions/MobileFrontend
COPY --from=builder --chown=www-data:www-data /usr/src/PluggableAuth extensions/PluggableAuth
COPY --from=builder --chown=www-data:www-data /usr/src/OpenIDConnect extensions/OpenIDConnect