mediawiki/Dockerfile

24 lines
784 B
Docker
Raw Normal View History

FROM mediawiki:latest
2014-12-05 09:02:02 -06:00
MAINTAINER Adrian Malacoda <adrian.malacoda@monarch-pass.net>
2014-06-18 16:18:40 -04:00
2017-05-21 20:19:09 -05:00
# Install ImageMagick
#RUN apt-get -y update && apt-get -y install imagemagick
2014-12-05 08:49:05 -06:00
2020-01-27 16:54:16 +00:00
WORKDIR /
2020-01-27 16:47:53 +00:00
# Install composer
RUN apt-get -y update && apt-get install -y --no-install-recommends git zip
2020-01-27 16:54:16 +00:00
RUN curl --silent --show-error https://getcomposer.org/installer | php
2014-11-24 21:59:58 -06:00
# Install extensions
ADD add_extension.sh /add_extension.sh
RUN chmod +x add_extension.sh
2019-06-16 00:57:51 -05:00
RUN ./add_extension.sh Scribunto $MEDIAWIKI_BRANCH && \
./add_extension.sh VisualEditor $MEDIAWIKI_BRANCH
2014-06-18 17:22:54 -04:00
ADD https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh /wait-for-it
ADD setup.sh /setup.sh
ADD get-variable /get-variable
RUN chmod +x setup.sh && chmod +x wait-for-it && chmod +x get-variable
CMD ["/setup.sh"]