You've already forked docker-mediawiki
Initial
This commit is contained in:
11
Dockerfile
Normal file
11
Dockerfile
Normal file
@ -0,0 +1,11 @@
|
||||
FROM mediawiki:latest AS base
|
||||
ENV DEBIAN_FRONTEND="noninteractive"
|
||||
|
||||
COPY ./config.json /tmp/config.json
|
||||
COPY ./build /tmp
|
||||
|
||||
RUN find /tmp/mediawiki_extensions -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/extensions' \; \
|
||||
&& find /tmp/mediawiki_skins -name "*.tar.gz" -exec sh -c 'tar -xzf {} -C /var/www/html/skins' \; \
|
||||
&& find /tmp/mediawiki_override -type f -exec php /tmp/scripts/config_placeholder_replace.php "/tmp/config.json" "{}" \; \
|
||||
&& mv /tmp/mediawiki_override/* /var/www/html \
|
||||
&& rm -R /tmp/*
|
Reference in New Issue
Block a user