From 226d9c0bc9b47b5d63702b53b6ea635524fd5a8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Benjamin=20B=C3=A4dorf?= Date: Mon, 30 Oct 2023 11:37:36 +0100 Subject: [PATCH] Initial commit --- Dockerfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..7590d27 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM mediawiki:stable + +RUN apt-get update && apt-get install -y wget tar unzip + +RUN wget https://extdist.wmflabs.org/dist/extensions/PluggableAuth-REL1_40-eb10a76.tar.gz +RUN tar -xzf PluggableAuth-REL1_40-eb10a76.tar.gz -C /var/www/html/extensions +RUN rm PluggableAuth-REL1_40-eb10a76.tar.gz + +RUN wget https://extdist.wmflabs.org/dist/extensions/OpenIDConnect-REL1_40-e97e0b1.tar.gz +RUN tar -xzf OpenIDConnect-REL1_40-e97e0b1.tar.gz -C /var/www/html/extensions +RUN rm OpenIDConnect-REL1_40-e97e0b1.tar.gz + +RUN echo '{ "extra": { "merge-plugin": { "include": [ "extensions/OpenIDConnect/composer.json" ] } } }' > /var/www/html/composer.local.json + +RUN php -r "copy('https://getcomposer.org/installer', '/tmp/composer-setup.php');" +RUN php /tmp/composer-setup.php --install-dir=/usr/local/bin --filename=composer + +RUN composer update