Skip to content

Commit

Permalink
Fix the building of historic Docker images
Browse files Browse the repository at this point in the history
  • Loading branch information
Witiko committed Jul 12, 2024
1 parent d44fa90 commit 93bb7e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,6 @@ cp ${BUILD_DIR}/t-markdownthemewitiko_markdown_defaults.tex ${INSTALL_DIR}/tex/
if test ${DEV_IMAGE} != true
then
mtxrun --generate
texlua /usr/bin/mtxrun.lua --luatex --generate
context --make
context --luatex --make
fi

# Reindex the TeX directory structure
Expand Down Expand Up @@ -233,9 +230,12 @@ then
sed -i '/package.loaded\["data-ini"\]/a if os.selfpath then environment.ownbin=lfs.symlinktarget(os.selfpath..io.fileseparator..os.selfname);environment.ownpath=environment.ownbin:match("^.*"..io.fileseparator) else environment.ownpath=kpse.new("luatex"):var_value("SELFAUTOLOC");environment.ownbin=environment.ownpath..io.fileseparator..(arg[-2] or arg[-1] or arg[0] or "luatex"):match("[^"..io.fileseparator.."]*$") end' /usr/bin/mtxrun.lua || true
fi
mtxrun --generate
texlua /usr/bin/mtxrun.lua --luatex --generate
context --make
context --luatex --make
if echo ${TEXLIVE_TAG} | grep -q latest-minimal
then
texlua /usr/bin/mtxrun.lua --luatex --generate
context --make
context --luatex --make
fi

# Reindex the TeX directory structure
texhash
Expand Down

0 comments on commit 93bb7e1

Please sign in to comment.