install composer in the container
All checks were successful
Docker Build / Build and Push Images (push) Successful in 50s

This commit is contained in:
Seaswimmer 2024-07-31 16:17:05 -04:00
parent 615c31357c
commit d6e0584029
Signed by: cswimr
GPG key ID: 3813315477F26F82

View file

@ -3,6 +3,10 @@ FROM mediawiki:1.42.1
RUN apt update \ RUN apt update \
&& apt install -y unzip wget && apt install -y unzip wget
# Install composer
RUN wget https://raw.githubusercontent.com/composer/getcomposer.org/76a7060ccb93902cd7576b67264ad91c8a2700e2/web/installer -O - -q | php -- --quiet \
&& mv composer.phar /usr/local/bin/composer
RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \ RUN wget https://github.com/StarCitizenTools/mediawiki-skins-Citizen/archive/main.zip \
&& unzip main.zip \ && unzip main.zip \
&& mkdir -p /var/www/html/skins/Citizen \ && mkdir -p /var/www/html/skins/Citizen \