set a composer env var to avoid a warning and potential errors
All checks were successful
Docker Build / Build and Push Images (push) Successful in 1m27s

This commit is contained in:
Seaswimmer 2024-08-06 01:54:13 -04:00
parent cbf7374c2c
commit 7e7895a618
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -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