From 0e6680bee3fa36ee47dc8baf449f00a97d035852 Mon Sep 17 00:00:00 2001 From: fardragon Date: Wed, 30 Jul 2025 15:23:21 +0200 Subject: [PATCH 1/3] Enable readline in compiled variant --- src/lua/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lua/install.sh b/src/lua/install.sh index 8f61d96..4fde0ea 100644 --- a/src/lua/install.sh +++ b/src/lua/install.sh @@ -15,12 +15,12 @@ if [ "${USE_APT}" = "true" ]; then else # build and install lua from source apt update -y - apt install -y curl make gcc tar + apt install -y curl make gcc tar libreadline-dev curl -L -R -O https://www.lua.org/ftp/lua-${VERSION}.tar.gz tar zxf lua-${VERSION}.tar.gz cd lua-${VERSION} - make all test - make all install + make linux-readline test + make linux-readline install fi echo 'Done!' From 408538fc846004e6dfedf04f445baa3e69577f68 Mon Sep 17 00:00:00 2001 From: fardragon Date: Wed, 30 Jul 2025 15:24:02 +0200 Subject: [PATCH 2/3] Bump Lua version to 5.4.8 --- src/lua/devcontainer-feature.json | 2 +- src/lua/install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lua/devcontainer-feature.json b/src/lua/devcontainer-feature.json index 7ead9b1..3c9b9bd 100644 --- a/src/lua/devcontainer-feature.json +++ b/src/lua/devcontainer-feature.json @@ -7,7 +7,7 @@ "options": { "version": { "type": "string", - "default": "5.4.7" + "default": "5.4.8" }, "useApt": { "type": "boolean", diff --git a/src/lua/install.sh b/src/lua/install.sh index 4fde0ea..58f7f00 100644 --- a/src/lua/install.sh +++ b/src/lua/install.sh @@ -2,7 +2,7 @@ set -e -VERSION="${VERSION:-"5.4.7"}" +VERSION="${VERSION:-"5.4.8"}" USE_APT="${USEAPT:-"false"}" From 799e353d3faa3d1e19d456cc3c6bd2da903f2ebd Mon Sep 17 00:00:00 2001 From: fardragon Date: Wed, 30 Jul 2025 15:28:15 +0200 Subject: [PATCH 3/3] Bump feature minor version --- src/lua/devcontainer-feature.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lua/devcontainer-feature.json b/src/lua/devcontainer-feature.json index 3c9b9bd..1603bcc 100644 --- a/src/lua/devcontainer-feature.json +++ b/src/lua/devcontainer-feature.json @@ -1,7 +1,7 @@ { "name": "Lua", "id": "lua", - "version": "1.0.0", + "version": "1.1.0", "description": "Installs Lua", "documentationURL": "https://github.com/prulloac/devcontainer-features/tree/main/src/lua", "options": {