Run update.php on start to make SMW stop complaining

This commit is contained in:
Adam Goldsmith 2020-11-12 15:19:53 -05:00
parent 109dd54995
commit b4ea4452e3

View File

@ -81,3 +81,6 @@ RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
# reset back to default shell
SHELL ["/bin/sh", "-c"]
# run update script on start
CMD ["sh", "-c", "(sleep 5; php /var/www/html/maintenance/update.php --quick --quiet) & apache2-foreground"]