commit 226d9c0bc9b47b5d63702b53b6ea635524fd5a8a Author: Benjamin Bädorf Date: Mon Oct 30 11:37:36 2023 +0100 Initial commit 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