blob: 98fd3453eddb3b5dc1b11d6ff1e89f8dd041936a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
FROM mediawiki:1.46.3
ENV MW_HOME=/var/www/html
ENV COMPOSER_ALLOW_SUPERUSER=1
# download and add composer to path
RUN set -x; \
php -r "readfile('https://getcomposer.org/installer');" | php \
&& mv composer.phar /usr/local/bin/composer
# get extensions
RUN set -x; \
cd $MW_HOME/extensions \
&& git clone --depth 1 https://github.com/Universal-Omega/PortableInfobox.git
|