Use composer version 1, as v2 breaks stuff right now

This commit is contained in:
Adam Goldsmith 2020-11-12 15:18:54 -05:00
parent 5703d93f35
commit 109dd54995

View File

@ -6,7 +6,7 @@ RUN apt-get update \
&& docker-php-ext-install -j$(nproc) ldap gd
COPY composer.local.json /var/www/html/
COPY --from=composer:latest /usr/bin/composer /usr/bin/composer
COPY --from=composer:1 /usr/bin/composer /usr/bin/composer
RUN cd /var/www/html/ && composer update --no-dev
# Needed for making branch name from MEDIAWIKI_MAJOR_VERSION