mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-01 23:35:41 +00:00
use lua 5.3.6 for static build
This commit is contained in:
parent
b88b64cd0e
commit
5f456584a8
10
Dockerfile
10
Dockerfile
@ -1,9 +1,11 @@
|
|||||||
FROM lionkor/alpine-static-cpp:latest
|
FROM lionkor/alpine-static-cpp:latest
|
||||||
|
|
||||||
RUN apk update && apk --no-cache add python3 git lua zlib-static openssl curl rapidjson curl-dev wget
|
ARG LUA_V=5.3.6
|
||||||
RUN apk --no-cache add openssl-libs-static curl-static
|
|
||||||
|
|
||||||
RUN wget "https://www.lua.org/ftp/lua-5.4.4.tar.gz"; tar xzvf lua-5.4.4.tar.gz; mv lua-5.4.4 /lua; rm lua-5.4.4.tar.gz
|
RUN apk update && apk --no-cache add python3 git lua zlib-static openssl curl rapidjson curl-dev wget readline-static
|
||||||
|
RUN apk --no-cache add openssl-libs-static curl-static readline-dev
|
||||||
|
|
||||||
RUN cd /lua; make all -j; cd ..
|
RUN wget "https://www.lua.org/ftp/lua-${LUA_V}.tar.gz"; tar xzvf lua-${LUA_V}.tar.gz; mv "lua-${LUA_V}" /lua; rm lua-${LUA_V}.tar.gz
|
||||||
|
|
||||||
|
RUN cd /lua; make all -j linux; cd ..
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user