add skins
This commit is contained in:
parent
f886a225e4
commit
41d4a49cdb
@ -34,6 +34,12 @@ RUN ./add_extension.sh Renameuser $MW_VERSION && \
|
||||
./add_extension.sh Poem $MW_VERSION && \
|
||||
./add_extension.sh PdfHandler $MW_VERSION
|
||||
|
||||
# Install skins
|
||||
ADD add_skin.sh /add_skin.sh
|
||||
RUN chmod +x add_skin.sh
|
||||
RUN ./add_skin.sh Vector $MW_VERSION && \
|
||||
./add_skin.sh MonoBook $MW_VERSION
|
||||
|
||||
# Create the section for persistent files
|
||||
RUN mkdir /var/lib/mediawiki
|
||||
RUN ln -s /var/lib/mediawiki/LocalSettings.php /app/LocalSettings.php
|
||||
|
9
add_skin.sh
Normal file
9
add_skin.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
EXT_NAME=$1
|
||||
EXT_VERSION=$2
|
||||
|
||||
cd /app/skins
|
||||
git clone https://git.wikimedia.org/git/mediawiki/skins/$1
|
||||
cd $1
|
||||
git checkout -b $2 origin/$2
|
Loading…
x
Reference in New Issue
Block a user