Skip to content

Commit

Permalink
Update TEXDIR and PATH in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
totallynotdavid committed Mar 12, 2024
1 parent 2b547ff commit 1de39cf
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions latex/min/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ ARG DEBIAN_FRONTEND="noninteractive"
ENV LANG="es_ES.UTF-8" \
LANGUAGE="es_ES.UTF-8" \
TERM="xterm" \
TEXDIR="/usr/local/texlive/${TEXLIVE_VERSION}" \
TEXDIR="/usr/local/texlive" \
TEXUSERDIR="/texlive-user" \
PATH="${PATH}"
PATH="${TEXDIR}/${TEXLIVE_VERSION}/bin/x86_64-linux:${PATH}"

RUN apt-get update && \
apt-get install -y --no-install-recommends fontconfig vim neovim python3-pygments ttf-mscorefonts-installer ghostscript locales perl perl-modules libencode-locale-perl && \
apt-get install -y --no-install-recommends fontconfig vim neovim python3-pygments ttf-mscorefonts-installer ghostscript locales perl-modules libencode-locale-perl && \
locale-gen ${LANG} && \
update-locale LANG=${LANG} && \
rm -rf /var/lib/apt/lists/*
Expand Down Expand Up @@ -76,8 +76,6 @@ RUN apt-get update && \
apt-get autoremove -y && \
rm -rf /var/lib/{apt,dpkg,cache,log}/

ENV PATH="/usr/local/texlive/${TEXLIVE_VERSION}/bin/x86_64-linux:${PATH}"

RUN tlmgr update --self --all && \
tlmgr install latexmk latexindent && \
tlmgr update --all && \
Expand Down

0 comments on commit 1de39cf

Please sign in to comment.