Skip to content

Commit 1c57f1d

Browse files
authored
move lua install to lua layer
1 parent e3586c7 commit 1c57f1d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mediawiki/build/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ RUN set -x; \
4848
nano \
4949
curl \
5050
jq \
51-
lua5.1 \
5251
&& update-alternatives --set php /usr/bin/php$PHP_VERSION \
5352
&& sed -i "$ s|\-n||g" /usr/bin/pecl \
5453
&& pear install mail net_smtp \
@@ -247,6 +246,8 @@ RUN set -x; \
247246
#### Scribunto / Lua ####
248247
RUN set -x; \
249248
cd $MW_HOME/extensions \
249+
# install lua from distro to support all platforms
250+
&& apt-get update && apt-get install -y --no-install-recommends lua5.1 \
250251
&& git clone --depth 1 https://github.com/Liquipedia/VariablesLua.git \
251252
&& git clone --depth 1 -b $MW_VERSION https://github.com/wikimedia/mediawiki-extensions-Capiunto.git Capiunto
252253

0 commit comments

Comments
 (0)