1
0
mirror of https://github.com/Briffou/texlive-docker synced 2025-04-04 11:24:56 +00:00

update profile and Dockerfile

so everyone can use luatex fonts database without generating a new one every time...
This commit is contained in:
Thomas Briffard 2019-03-01 14:53:12 -05:00
parent 5974e24a03
commit b3696641bd
2 changed files with 6 additions and 3 deletions

View File

@ -2,13 +2,14 @@
# current version : Tex Live 2018
FROM phusion/baseimage
LABEL version="28 February 2019"
LABEL version="1 Mars 2019"
RUN apt-get update && apt-get install -y ghostscript xz-utils wget bsdtar perl && \
apt-get clean
WORKDIR /home/install-tl-unx
ARG TEXMFSYSVAR=/tmp/texmf-var/
ADD custom.profile .
RUN wget -nv -O install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
@ -22,5 +23,7 @@ WORKDIR /data
ENV PATH $PATH:/usr/local/texlive/latest/bin/x86_64-linux
RUN luaotfload-tool --update && chmod -R 777 $TEXMFSYSVAR
CMD ["/bin/bash"]

View File

@ -5,8 +5,8 @@ TEXMFCONFIG ~/.texlive-latest/texmf-config
TEXMFHOME ~/texmf
TEXMFLOCAL /usr/local/texlive/texmf-local
TEXMFSYSCONFIG /usr/local/texlive/latest/texmf-config
TEXMFSYSVAR /usr/local/texlive/latest/texmf-var
TEXMFVAR /tmp/texmf-var
TEXMFSYSVAR /tmp/texmf-var
TEXMFVAR ~/.texlive-latest/texmf-var
binary_x86_64-linux 1
instopt_adjustpath 0
instopt_adjustrepo 1