summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-20 12:49:43 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-10-20 12:49:43 +0200
commit29a08b268ced0a2ab82f4b849809bd0370ff8ccf (patch)
treec45011dc5dac473e03e3248f3e02173ca5a627a0
parent1261bcc70382b588c402b8d0740ecfcc77dd1b36 (diff)
Add lua-5.4.6
-rw-r--r--Lua/5.4.6/Dockerfile15
1 files changed, 15 insertions, 0 deletions
diff --git a/Lua/5.4.6/Dockerfile b/Lua/5.4.6/Dockerfile
new file mode 100644
index 0000000..108af74
--- /dev/null
+++ b/Lua/5.4.6/Dockerfile
@@ -0,0 +1,15 @@
+FROM alpine
+RUN apk update && apk add \
+ git \
+ make \
+ gcc \
+ musl-dev \
+ wget
+RUN wget https://www.lua.org/ftp/lua-5.4.6.tar.gz
+RUN tar -xf lua-5.4.6.tar.gz
+WORKDIR /lua-5.4.6
+ARG PREFIX=/opt/spm/lua-5.4.6
+RUN make -j$(nproc --all) CFLAGS="-std=gnu99 -Os -Wall -Wextra \
+ -DLUA_COMPAT_5_3 -DLUA_USE_LINUX \
+ -ffunction-sections -fdata-sections"
+RUN make install INSTALL_TOP=$PREFIX