aboutsummaryrefslogtreecommitdiffstats
path: root/homelab-wiki/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'homelab-wiki/Dockerfile')
-rw-r--r--homelab-wiki/Dockerfile9
1 files changed, 2 insertions, 7 deletions
diff --git a/homelab-wiki/Dockerfile b/homelab-wiki/Dockerfile
index 391654c..98fd345 100644
--- a/homelab-wiki/Dockerfile
+++ b/homelab-wiki/Dockerfile
@@ -1,6 +1,7 @@
-FROM mediawiki:1.43.3
+FROM mediawiki:1.46.3
ENV MW_HOME=/var/www/html
+ENV COMPOSER_ALLOW_SUPERUSER=1
# download and add composer to path
RUN set -x; \
@@ -10,10 +11,4 @@ RUN set -x; \
# get extensions
RUN set -x; \
cd $MW_HOME/extensions \
- && git clone --depth 1 -b REL1_39 https://github.com/wikimedia/mediawiki-extensions-TemplateStyles \
&& git clone --depth 1 https://github.com/Universal-Omega/PortableInfobox.git
-
-# install extensions
-RUN set -x; \
- cd $MW_HOME/extensions/mediawiki-extensions-TemplateStyles \
- && composer install --no-dev