Abandoned use of composer to install extensions
This commit is contained in:
19
Dockerfile
19
Dockerfile
@@ -11,17 +11,6 @@ ARG EXT_BASE=/var/www/html/extensions
|
||||
ARG COMPOSER=composer.local.json
|
||||
|
||||
|
||||
####
|
||||
# Install composer
|
||||
# ================
|
||||
# Note that we need to just get the composer script directly rather than use
|
||||
# Debian packages. The base image is Docker's php-apache library image, which
|
||||
# builds PHP from source rather than install from Packages. Hence many
|
||||
# required packages are missing (and should stay missing.)
|
||||
####
|
||||
RUN curl https://getcomposer.org/composer.phar -o /usr/bin/composer && \
|
||||
chmod a+x /usr/bin/composer
|
||||
|
||||
|
||||
#####
|
||||
# Mediawiki Language Extension Bundle
|
||||
@@ -33,10 +22,10 @@ RUN curl https://getcomposer.org/composer.phar -o /usr/bin/composer && \
|
||||
# - UniversalLanguageSelector
|
||||
#####
|
||||
|
||||
RUN composer require --no-update mediawiki/babel:2024.07 && \
|
||||
composer require --no-update mediawiki/cldr:2024.07 && \
|
||||
composer require --no-update mediawiki/translate:2024.07 && \
|
||||
cd extensions && \
|
||||
RUN cd extensions && \
|
||||
git clone --depth=1 --branch=REL1_42 https://github.com/wikimedia/mediawiki-extensions-Babel.git Babel && \
|
||||
git clone --depth=1 --branch=REL1_42 https://github.com/wikimedia/mediawiki-extensions-cldr.git cldr && \
|
||||
git clone --depth=1 --branch=REL1_42 https://github.com/wikimedia/mediawiki-extensions-Translate.git Translate && \
|
||||
git clone --depth=1 --branch=REL1_42 https://github.com/wikimedia/mediawiki-extensions-CleanChanges.git CleanChanges && \
|
||||
git clone --depth=1 --branch=shavian https://git.nordgren.vip/bryce/mediawiki-extensions-UniversalLanguageSelector.git UniversalLanguageSelector
|
||||
|
||||
|
||||
Reference in New Issue
Block a user