use COPY instead of ADD
Some checks failed
Docker Build / Build and Push Images (push) Failing after 14s
Some checks failed
Docker Build / Build and Push Images (push) Failing after 14s
This commit is contained in:
parent
3eee8f7107
commit
d5a65aabc0
1 changed files with 10 additions and 10 deletions
|
@ -1,5 +1,14 @@
|
||||||
FROM mediawiki:1.42.1
|
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 \
|
RUN git clone --depth 1 \
|
||||||
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
|
https://gerrit.wikimedia.org/r/p/mediawiki/extensions/MobileFrontend \
|
||||||
/var/www/html/extensions/MobileFrontend
|
/var/www/html/extensions/MobileFrontend
|
||||||
|
@ -28,15 +37,6 @@ RUN git clone --depth 1 \
|
||||||
https://github.com/edwardspec/mediawiki-aws-s3.git \
|
https://github.com/edwardspec/mediawiki-aws-s3.git \
|
||||||
/var/www/html/extensions/AWS
|
/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 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
|
|
||||||
|
|
Loading…
Reference in a new issue