File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed
Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -95,6 +95,16 @@ LABEL org.opencontainers.image.revision="$REVISION"
9595
9696COPY build-aux/docker-fontconfig.conf /etc/fonts/conf.d/99-docker.conf
9797
98+ # Inform the system Lua manifest where SILE's vendored modules are so they are
99+ # available to 3rd party packages even outside of SILE's runtime. Most notably
100+ # useful so that luarocks can find them as existing dependencies when
101+ # installing 3rd party modules. We replace the user tree instead of inserting
102+ # a new one because it doesn't make sense in Docker anyway and the default
103+ # priority works out better having it first.
104+ RUN luarocks config rocks_trees[1].root /usr/local/share/sile/lua_modules && \
105+ luarocks config rocks_trees[1].name sile && \
106+ luarocks config deps_mode all
107+
98108COPY --from=builder /pkgdir /
99109COPY --from=builder /src/src/sile-entry.sh /usr/local/bin
100110
You can’t perform that action at this time.
0 commit comments