From 275229e69b50ae99eaa66a23b42b9f2ece46c713 Mon Sep 17 00:00:00 2001 From: Seaswimmer Date: Wed, 31 Jul 2024 15:55:19 -0400 Subject: [PATCH] add AWS extension --- mediawiki/Dockerfile | 8 ++++++++ mediawiki/composer.local.json | 9 +++++++++ 2 files changed, 17 insertions(+) create mode 100644 mediawiki/composer.local.json diff --git a/mediawiki/Dockerfile b/mediawiki/Dockerfile index 13862cf..9b4565c 100644 --- a/mediawiki/Dockerfile +++ b/mediawiki/Dockerfile @@ -24,6 +24,14 @@ RUN git clone --depth 1 \ https://gerrit.wikimedia.org/r/p/mediawiki/extensions/AdvancedSearch \ /var/www/html/extensions/AdvancedSearch +RUN git clone --depth 1 \ + https://github.com/edwardspec/mediawiki-aws-s3.git \ + /var/www/html/extensions/AWS + +ADD composer.local.json /var/www/html/composer.local.json + +RUN cd /var/www/html && composer update && cd - + RUN apt update \ && apt install -y unzip wget diff --git a/mediawiki/composer.local.json b/mediawiki/composer.local.json new file mode 100644 index 0000000..20f0bf2 --- /dev/null +++ b/mediawiki/composer.local.json @@ -0,0 +1,9 @@ +{ + "extra": { + "merge-plugin": { + "include": [ + "extensions/AWS/composer.json" + ] + } + } +}