Initial commit

This commit is contained in:
Benjamin Bädorf 2023-10-30 11:37:36 +01:00
commit 226d9c0bc9
No known key found for this signature in database
GPG key ID: 1B7BF5B77A521346

18
Dockerfile Normal file
View file

@ -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