Skip to content

Commit

Permalink
Update TEXLIVE_BINDIR environment variable in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
totallynotdavid committed Mar 12, 2024
1 parent 0a13db9 commit 4941d47
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions latex/min/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,9 @@ tlpdbopt_install_docfiles ${DOCFILES}
tlpdbopt_install_srcfiles ${SRCFILES}
EOF

RUN export TEXLIVE_INSTALL_NO_CONTEXT_CACHE=1 && \
export TEXLIVE_INSTALL_NO_WELCOME=1 && \
./install-tl -profile /tmp/texlive/profile.txt -no-interaction -texdir ${TEXDIR} -texuserdir ${TEXUSERDIR} && \
ENV TEXLIVE_BINDIR="${TEXDIR}/bin/${TARGETARCH}-linux"
RUN export TEXLIVE_BINDIR && \
./install-tl -profile /tmp/texlive/profile.txt -no-interaction -texdir ${TEXDIR} -texuserdir ${TEXUSERDIR} -bindir "${TEXLIVE_BINDIR}" && \
rm -rf /tmp/texlive ${TEXDIR}/*.log

RUN apt-get update && \
Expand All @@ -79,7 +79,7 @@ RUN apt-get update && \

RUN echo "PATH=$PATH"
RUN echo "TARGETARCH=$TARGETARCH"
RUN ls -l "${TEXDIR}/bin/${TARGETARCH}-linux"
RUN ls -l "${TEXDIR}/bin/x86_64-linux"
RUN tlmgr update --self --all && \
tlmgr install latexmk latexindent && \
tlmgr update --all && \
Expand Down

0 comments on commit 4941d47

Please sign in to comment.