File tree 3 files changed +10
-2
lines changed
3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,18 @@ ARG RUNTIME_DEPS
20
20
# Install run-time dependencies
21
21
RUN pacman --needed --noconfirm -Sq $RUNTIME_DEPS && yes | pacman -Sccq
22
22
23
+ # Setup LuaRocks for use with LuaJIT roughly matching SILE's internal VM
24
+ RUN luarocks --lua-version 5.1 config lua_interpreter luajit && \
25
+ luarocks --lua-version 5.1 config variables.LUA "$(command -v luajit)"
26
+
23
27
# Set at build time, forces Docker’s layer caching to reset at this point
24
28
ARG REVISION
25
29
ARG VERSION
26
30
27
31
# Install fontproof in SILE container
28
32
COPY ./ /src
29
33
WORKDIR /src
30
- RUN luarocks make fontproof-dev-1.rockspec
34
+ RUN luarocks --lua-version 5.1 make fontproof-dev-1.rockspec
31
35
32
36
LABEL org.opencontainers.image.title="FontProof"
33
37
LABEL org.opencontainers.image.description="A containerized version of FontProof"
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ dependencies = {
27
27
" lua_cliargs == 3.0-2"
28
28
}
29
29
30
+ deploy = {
31
+ wrap_bin_scripts = true ,
32
+ }
33
+
30
34
build = {
31
35
type = " builtin" ,
32
36
modules = {
Original file line number Diff line number Diff line change 8
8
9
9
REVISION=$( git describe --long --tags | sed ' s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' )
10
10
11
- RUNTIME_DEPS=' luarocks words'
11
+ RUNTIME_DEPS=' luarocks luajit words'
12
12
13
13
: " ${DOCKER_BUILDKIT:= 1} "
14
14
export DOCKER_BUILDKIT
You can’t perform that action at this time.
0 commit comments