diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-20 12:50:34 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-10-24 22:58:59 +0200 |
| commit | f001951e3aec75bf750fda476c0ba4ce443029c3 (patch) | |
| tree | 3f498ed5b6772043675f1abb5eea084c19fe464d /luastatic | |
| parent | 505c7012cb160690afdcf5e50a98970ad346cb1e (diff) | |
| download | spm-packages-prosody.tar.gz | |
WIP prosodyprosody
Diffstat (limited to 'luastatic')
| -rw-r--r-- | luastatic/master/Dockerfile | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/luastatic/master/Dockerfile b/luastatic/master/Dockerfile new file mode 100644 index 0000000..ad04502 --- /dev/null +++ b/luastatic/master/Dockerfile @@ -0,0 +1,16 @@ +FROM alpine +RUN apk update && apk add \ + git \ + make \ + gcc \ + musl-dev +RUN git clone --depth 1 --recursive https://github.com/ers35/luastatic \ + /opt/spm/luastatic-master +WORKDIR /opt/spm/luastatic-master +COPY --from=lua:5.4.6 /opt/spm/lua-5.4.6/ /usr/local/ +RUN make -j$(nproc --all) \ + LUA=lua \ + LIBLUA_A=/usr/local/lib/liblua.a \ + LUA_INCLUDE=/usr/local/include \ + CFLAGS=-static +RUN strip luastatic |
