2021-04-22 14:15:13 +02:00
|
|
|
FROM mediawiki:lts
|
|
|
|
|
|
|
|
|
|
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 12:41:03 +02:00
|
|
|
# Install Dependencies for Maps support
|
|
|
|
|
|
|
|
|
|
#RUN curl https://getcomposer.org/composer-2.phar > composer.phar && mv composer.phar /usr/local/bin/composer && chmod +x /usr/local/bin/composer
|
|
|
|
|
#RUN cd /var/www/html && COMPOSER=composer.local.json composer require --no-update mediawiki/maps:~8.0
|
|
|
|
|
#RUN composer update
|
|
|
|
|
#RUN cd /var/www/html && composer update mediawiki/maps --no-dev -o -n
|
|
|
|
|
|
2021-04-22 14:15:13 +02:00
|
|
|
# Start from the webserver neccessary or not? Test from 23.04.2021 -> not needed
|
|
|
|
|
#CMD ["apache2-foreground"]
|