mirror of
https://github.com/diocloid/LinkTitles.git
synced 2025-07-13 01:39: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
|
# This Dockerfile can be used to create a Docker image/container
|
||||||
# that runs the unit tests on the LinkTitles extension.
|
# 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)
|
LABEL "MAINTAINER" Daniel Kraus (https://www.bovender.de)
|
||||||
|
|
||||||
RUN apt-get update -yqq && \
|
RUN apt-get update -yqq && \
|
||||||
apt-get install -yqq \
|
apt-get install -yqq \
|
||||||
php7.4-sqlite \
|
|
||||||
sqlite3 \
|
sqlite3 \
|
||||||
unzip \
|
unzip \
|
||||||
zip
|
zip
|
||||||
|
|
||||||
WORKDIR /var/www/html
|
WORKDIR /var/www/html
|
||||||
ADD install-composer.sh install-composer.sh
|
ADD install-composer.sh install-composer.sh
|
||||||
|
RUN sed -i 's/\r$//' install-composer.sh
|
||||||
RUN chmod +x install-composer.sh
|
RUN chmod +x install-composer.sh
|
||||||
RUN ./install-composer.sh
|
RUN ./install-composer.sh
|
||||||
|
|
||||||
|
@ -16,7 +16,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# May need to remove the explicit pinning of version 1 in the future
|
# 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=$?
|
RESULT=$?
|
||||||
rm composer-setup.php
|
rm composer-setup.php
|
||||||
exit $RESULT
|
exit $RESULT
|
||||||
|
Reference in New Issue
Block a user