You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Lualatex uses a cache folder which is not accessible if you change the user to something else than root.
The error:
quiting: fix your writable cache path
My fix:
RUN chmod 1777 /var/lib/texmf
This changes the permissions so any user can write to the cache folder. The location of the cache folder is specified by the TEXMFCACHE environment variable. More info: https://wiki.archlinux.org/index.php/TeX_Live#Usage
The text was updated successfully, but these errors were encountered:
The first version includes only the packages needed to run lualatex. The size is 316MB (116MB on dockerhub), which is the lowest I could get without mucking with vanilla texlive (still way better than 3GB+ full image). The second additionally includes build tools (latexmk and make).
Lualatex uses a cache folder which is not accessible if you change the user to something else than root.
The error:
My fix:
This changes the permissions so any user can write to the cache folder. The location of the cache folder is specified by the TEXMFCACHE environment variable. More info:
https://wiki.archlinux.org/index.php/TeX_Live#Usage
The text was updated successfully, but these errors were encountered: