Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lualatex #24

Open
brokenpylons opened this issue Mar 27, 2019 · 2 comments
Open

Lualatex #24

brokenpylons opened this issue Mar 27, 2019 · 2 comments

Comments

@brokenpylons
Copy link

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

@brokenpylons
Copy link
Author

On second thought, this is probably better:

ENV TEXMFCACHE /tmp/texmf/

@brokenpylons
Copy link
Author

brokenpylons commented Apr 2, 2019

I made a docker file:

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant