Skip to content

Commit

Permalink
Merge pull request #22 from Omikhleia/fix-lua-version-sile-docker-again
Browse files Browse the repository at this point in the history
chore(build): Simplify SILE version detection
  • Loading branch information
Omikhleia authored Sep 15, 2024
2 parents 50ce76b + 4d86cdd commit e46750f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN sile --version

# Resilient packages and classes for SILE
# Try to deduce the Lua version used by SILE, which might be different from the system Lua
RUN v=$(sile --quiet -e 'v = (_VERSION):gsub("Lua ", ""); print(v); os.exit()'); echo $v > /LVER
RUN v=$(sile --quiet -e 'print(SILE.lua_version); os.exit()'); echo $v > /LVER
RUN luarocks install --lua-version $(cat /LVER) resilient.sile
RUN luarocks list --lua-version $(cat /LVER)

Expand Down

0 comments on commit e46750f

Please sign in to comment.