From b3696641bd466dabc976d14c895a77bb664d0d67 Mon Sep 17 00:00:00 2001 From: Thomas Briffard Date: Fri, 1 Mar 2019 14:53:12 -0500 Subject: [PATCH] update profile and Dockerfile so everyone can use luatex fonts database without generating a new one every time... --- Dockerfile | 5 ++++- custom.profile | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 21d9e1e..c42837c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"] diff --git a/custom.profile b/custom.profile index d78ff49..68e4e7e 100644 --- a/custom.profile +++ b/custom.profile @@ -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