Update test docker to work with MW 1.44

This commit is contained in:
2025-07-10 12:50:08 +02:00
parent c80706e144
commit 15f8fc5a3b
2 changed files with 4 additions and 3 deletions

View File

@ -1,16 +1,17 @@
# This Dockerfile can be used to create a Docker image/container
# that runs the unit tests on the LinkTitles extension.
FROM mediawiki:1.37
FROM mediawiki:1.44
LABEL "MAINTAINER" Daniel Kraus (https://www.bovender.de)
RUN apt-get update -yqq && \
apt-get install -yqq \
php7.4-sqlite \
sqlite3 \
unzip \
zip
WORKDIR /var/www/html
ADD install-composer.sh install-composer.sh
RUN sed -i 's/\r$//' install-composer.sh
RUN chmod +x install-composer.sh
RUN ./install-composer.sh

View File

@ -16,7 +16,7 @@ then
fi
# May need to remove the explicit pinning of version 1 in the future
php composer-setup.php --quiet --1
php composer-setup.php --quiet
RESULT=$?
rm composer-setup.php
exit $RESULT