Run update.php on start to make SMW stop complaining
This commit is contained in:
parent
109dd54995
commit
b4ea4452e3
@ -81,3 +81,6 @@ RUN git clone --depth 1 -b REL${MEDIAWIKI_MAJOR_VERSION/./_} \
|
|||||||
|
|
||||||
# reset back to default shell
|
# reset back to default shell
|
||||||
SHELL ["/bin/sh", "-c"]
|
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"]
|
||||||
|
Loading…
Reference in New Issue
Block a user