Skip to content

Commit ccc189e

Browse files
authored
fix: installer
1 parent eee64d0 commit ccc189e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ RUN /tmp/mediawiki-extension-downloader --config /tmp/mediawiki-extension-downlo
3939

4040
COPY config/wiki/composer.local.json /tmp/mediawiki/
4141
WORKDIR /tmp/mediawiki
42-
RUN COMPOSER_HOME=/tmp/composer /usr/bin/php$PHP_VERSION /usr/bin/composer.phar update --no-dev \
43-
# Upstream changes that requires to install separately. somehow.
44-
&& COMPOSER_HOME=/tmp/composer /usr/bin/php$PHP_VERSION /usr/bin/composer.phar update mediawiki/simple-batch-upload
42+
43+
# Composer needs local user or set the flag for plugins. (that includes installer)
44+
RUN COMPOSER_HOME=/tmp/composer COMPOSER_ALLOW_SUPERUSER=1 /usr/bin/php$PHP_VERSION /usr/bin/composer.phar update --no-dev
4545

4646
# NO I WON'T USE PHP IMAGE SINCE IT'S TOO BIG
4747
FROM alpine:$ALPINE_VERSION

0 commit comments

Comments
 (0)