From 7e7895a618212594a085b07486fb1882770fe2ba Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Tue, 6 Aug 2024 01:54:13 -0400 Subject: [PATCH] set a composer env var to avoid a warning and potential errors --- mediawiki/Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index 7d40be2..2e5d8d1 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -79,6 +79,8 @@ RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93 RUN mv /var/www/html/composer.local.json-sample /var/www/html/composer.local.json +ENV COMPOSER_ALLOW_SUPERUSER=1 + RUN cd /var/www/html && composer update && cd - RUN mkdir /var/log/mediawiki && chown www-data:www-data /var/log/mediawiki