Add lua-5.4.6

This commit is contained in:
Xavier Del Campo Romero 2023-10-20 12:49:43 +02:00
parent 1261bcc703
commit 29a08b268c
Signed by: xavi
GPG Key ID: 84FF3612A9BF43F2
1 changed files with 15 additions and 0 deletions

15
Lua/5.4.6/Dockerfile Normal file
View File

@ -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