With a support of a colleague that has an Apple M1, I'm trying to build the pandoc/latex:edge-ubuntu image.
Time used for installing the packages: 00:38
running mktexlsr /opt/texlive/texdir/texmf-dist ...
writing fmtutil.cnf to /opt/texlive/texdir/texmf-dist/web2c/fmtutil.cnf
writing updmap.cfg to /opt/texlive/texdir/texmf-dist/web2c/updmap.cfg
writing language.dat to /opt/texlive/texdir/texmf-var/tex/generic/config/language.dat
writing language.def to /opt/texlive/texdir/texmf-var/tex/generic/config/language.def
writing language.dat.lua to /opt/texlive/texdir/texmf-var/tex/generic/config/language.dat.lua
running mktexlsr /opt/texlive/texdir/texmf-var /opt/texlive/texdir/texmf-config /opt/texlive/texdir/texmf-dist ...
running updmap-sys --nohash ...done
re-running mktexlsr /opt/texlive/texdir/texmf-var /opt/texlive/texdir/texmf-config ...
pre-generating all format files, be patient...
running fmtutil-sys --no-error-if-no-engine=luajithbtex,luajittex,mfluajit --no-strict --all ...done
running package-specific postactions
finished with package-specific postactionsWelcome to TeX Live!See /opt/texlive/texdir/index.html for links to documentation.
The TeX Live web site (
https://tug.org/texlive/) contains any updates and corrections. TeX Live is a joint project of the TeX user groups around the world; please consider supporting it by joining the group best for you. The list of groups is available on the web at
https://tug.org/usergroups.html.Add /opt/texlive/texdir/texmf-dist/doc/man to MANPATH.
Add /opt/texlive/texdir/texmf-dist/doc/info to INFOPATH.
Most importantly, add /opt/texlive/texdir/bin/aarch64-linux
to your PATH for current and future sessions.
Logfile: /opt/texlive/texdir/install-tl.log ----------------------------------------------------------------------
The following environment variables contain the string "tex"
(case-independent). If you're doing anything but adding personal
directories to the system paths, they may well cause trouble somewhere
while running TeX. If you encounter problems, try unsetting them. Please ignore spurious matches unrelated to TeX. (To omit this check,
set the environment variable TEXLIVE_INSTALL_ENV_NOCHECK.) texlive_version=2022
----------------------------------------------------------------------
xargs: tlmgr: No such file or directory
The command '/bin/sh -c /root/install-texlive.sh $texlive_version && sed -e 's/ *#.*$//' -e '/^ *$/d' /root/packages.txt | xargs tlmgr install && rm -f /root/texlive.profile /root/install-texlive.sh /root/packages.txt && TERM=dumb luaotfload-tool --update && chmod -R o+w /opt/texlive/texdir/texmf-var' returned a non-zero code: 127
Please note that I forced the TeXLive version to 2022.
In the meanwhile, I'm also trying to build multi-arch images using GitHub Actions but it requires a lot of work and a different approach to images testing due to Docker buildx way of working.