2021-04-22 14:15:13 +02:00
|
|
|
FROM mediawiki:lts
|
|
|
|
|
|
2022-03-12 16:21:29 +01:00
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
|
2021-04-22 14:15:13 +02:00
|
|
|
RUN apt update && apt install -y xpdf
|
|
|
|
|
|
|
|
|
|
# Eventually you need tu build ghostscript from source
|
|
|
|
|
RUN apt install -y ghostscript
|
|
|
|
|
|
|
|
|
|
# Eventually you need tu build Imagick from source
|
|
|
|
|
RUN apt install -y imagemagick
|
|
|
|
|
|
2021-04-22 17:46:06 +02:00
|
|
|
# ffmpeg für video support
|
|
|
|
|
RUN apt install -y ffmpeg
|
|
|
|
|
|
2021-05-06 16:25:08 +02:00
|
|
|
# Install Dependencies for Score Extension
|
|
|
|
|
###########################################
|
|
|
|
|
# Music Notation Framework LilyPond
|
|
|
|
|
RUN apt install -y lilypond
|
|
|
|
|
# Sandboxing system
|
2022-03-12 16:21:29 +01:00
|
|
|
# install needs keyboard settings and gets stuck...
|
2021-05-06 16:25:08 +02:00
|
|
|
RUN apt install -y firejail
|
|
|
|
|
# A SoundFont Synthesizer
|
|
|
|
|
RUN apt install -y fluidsynth
|
|
|
|
|
|
|
|
|
|
# Install composer for php dependencies
|
|
|
|
|
#######################################
|
2022-03-14 12:24:07 +01:00
|
|
|
|
|
|
|
|
RUN curl https://getcomposer.org/download/2.1.14/composer.phar > composer.phar && mv composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/composer
|
2021-05-06 16:25:08 +02:00
|
|
|
RUN cd /var/www/html && COMPOSER=composer.local.json composer require --no-update mediawiki/maps:~8.0
|
2023-01-02 14:50:16 +01:00
|
|
|
RUN cd /var/www/html && COMPOSER=composer.local.json composer require --no-update wikimedia/normalized-exception
|
2021-05-06 16:25:08 +02:00
|
|
|
|
|
|
|
|
############################################################
|
|
|
|
|
############################################################
|
|
|
|
|
# This needs to be done in running Container
|
|
|
|
|
# It is possible to override entrypoint for container to run this as a skript but not done jet
|
|
|
|
|
# Install TimedMediaExtension dependencies
|
|
|
|
|
###########################################
|
|
|
|
|
|
|
|
|
|
#RUN cd /var/www/html/extensions/TimedMediaHandler && composer update
|
|
|
|
|
#RUN cd /var/www/html/extensions/TimedMediaHandler && composer update mediawiki/maps --no-dev -o
|
|
|
|
|
|
2021-05-06 12:41:03 +02:00
|
|
|
# Install Dependencies for Maps support
|
2021-05-06 16:25:08 +02:00
|
|
|
########################################
|
|
|
|
|
|
|
|
|
|
#RUN cd /var/www/html/extensions/Maps && composer update
|
|
|
|
|
#RUN cd /var/www/html/extensions/Maps && composer update mediawiki/maps --no-dev -o
|
|
|
|
|
##############################################################
|
|
|
|
|
##############################################################
|
|
|
|
|
|
2021-05-06 12:41:03 +02:00
|
|
|
|
2021-05-06 16:25:08 +02:00
|
|
|
RUN cd /var/www/html
|
2021-05-06 12:41:03 +02:00
|
|
|
|
2021-04-22 14:15:13 +02:00
|
|
|
# Start from the webserver neccessary or not? Test from 23.04.2021 -> not needed
|
2023-01-02 15:03:57 +01:00
|
|
|
CMD ["apache2-foreground"]
|