Make Dockerfile useable for current release

This commit is contained in:
2025-07-09 22:26:16 +02:00
parent 8eb903e6ae
commit a5f1034694

View File

@@ -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