mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-12 17:29:30 +02:00
Update test docker to work with MW 1.44
This commit is contained in:
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user