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