mirror of
https://github.com/Briffou/texlive-docker
synced 2025-04-11 23:04:57 +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:
parent
5974e24a03
commit
b3696641bd
@ -2,13 +2,14 @@
|
|||||||
# current version : Tex Live 2018
|
# current version : Tex Live 2018
|
||||||
FROM phusion/baseimage
|
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 && \
|
RUN apt-get update && apt-get install -y ghostscript xz-utils wget bsdtar perl && \
|
||||||
apt-get clean
|
apt-get clean
|
||||||
|
|
||||||
WORKDIR /home/install-tl-unx
|
WORKDIR /home/install-tl-unx
|
||||||
|
|
||||||
|
ARG TEXMFSYSVAR=/tmp/texmf-var/
|
||||||
ADD custom.profile .
|
ADD custom.profile .
|
||||||
|
|
||||||
RUN wget -nv -O install-tl-unx.tar.gz http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz && \
|
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
|
ENV PATH $PATH:/usr/local/texlive/latest/bin/x86_64-linux
|
||||||
|
|
||||||
|
RUN luaotfload-tool --update && chmod -R 777 $TEXMFSYSVAR
|
||||||
|
|
||||||
CMD ["/bin/bash"]
|
CMD ["/bin/bash"]
|
||||||
|
|
||||||
|
@ -5,8 +5,8 @@ TEXMFCONFIG ~/.texlive-latest/texmf-config
|
|||||||
TEXMFHOME ~/texmf
|
TEXMFHOME ~/texmf
|
||||||
TEXMFLOCAL /usr/local/texlive/texmf-local
|
TEXMFLOCAL /usr/local/texlive/texmf-local
|
||||||
TEXMFSYSCONFIG /usr/local/texlive/latest/texmf-config
|
TEXMFSYSCONFIG /usr/local/texlive/latest/texmf-config
|
||||||
TEXMFSYSVAR /usr/local/texlive/latest/texmf-var
|
TEXMFSYSVAR /tmp/texmf-var
|
||||||
TEXMFVAR /tmp/texmf-var
|
TEXMFVAR ~/.texlive-latest/texmf-var
|
||||||
binary_x86_64-linux 1
|
binary_x86_64-linux 1
|
||||||
instopt_adjustpath 0
|
instopt_adjustpath 0
|
||||||
instopt_adjustrepo 1
|
instopt_adjustrepo 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user