Add lua-5.4.6
This commit is contained in:
parent
1261bcc703
commit
29a08b268c
|
@ -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
|
Loading…
Reference in New Issue