diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index 31e0548..ca8d904 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -1,5 +1,14 @@ FROM mediawiki:1.42.1 +RUN apt update \ + && apt install -y unzip wget + +RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \ + && unzip main.zip \ + && mkdir -p /var/www/html/skins/Citizen \ + && mv mediawiki-skins-Citizen-main/* /var/www/html/skins/Citizen \ + && rm main.zip + RUN git clone --depth 1 \ https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \ /var/www/html/extensions/MobileFrontend @@ -28,15 +37,6 @@ RUN git clone --depth 1 \ https://github.com/edwardspec/mediawiki-aws-s3.git \ /var/www/html/extensions/AWS -ADD ./composer.local.json /var/www/html/composer.local.json +COPY composer.local.json /var/www/html/composer.local.json RUN cd /var/www/html && composer update && cd - - -RUN apt update \ - && apt install -y unzip wget - -RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \ - && unzip main.zip \ - && mkdir -p /var/www/html/skins/Citizen \ - && mv mediawiki-skins-Citizen-main/* /var/www/html/skins/Citizen \ - && rm main.zip