Skip to content

Commit e440e2c

Browse files
authored
Merge pull request #61 from OpenSemanticLab/arm64-lua-support
install lua5.1 right inside container image
2 parents d3f8e1f + 1c57f1d commit e440e2c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

mediawiki/build/DockerSettings.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,9 @@
565565
wfLoadExtension( 'Capiunto' );
566566
wfLoadExtension( 'VariablesLua' );
567567

568+
# Set lua binaries to apt installed Lua5.1
569+
$wgScribuntoEngineConf['luastandalone']['luaPath'] = '/usr/bin/lua';
570+
568571

569572
########### Flow (AFTER SMW!!!) ###############
570573
# https://www.mediawiki.org/wiki/Extension:Flow

mediawiki/build/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -246,6 +246,8 @@ RUN set -x; \
246246
#### Scribunto / Lua ####
247247
RUN set -x; \
248248
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 \
249251
&& git clone --depth 1 https://github.com/Liquipedia/VariablesLua.git \
250252
&& git clone --depth 1 -b $MW_VERSION https://github.com/wikimedia/mediawiki-extensions-Capiunto.git Capiunto
251253

0 commit comments

Comments
 (0)