From d5a65aabc0a02792295f45f839166cbdbbd92c44 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 31 Jul 2024 16:02:12 -0400 Subject: [PATCH] use COPY instead of ADD --- mediawiki/Dockerfile | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) 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