Skip to content
Snippets Groups Projects
Verified Commit 712b6434 authored by Olivier Benz's avatar Olivier Benz
Browse files

verse: Remove TARGETARCH from PATH for TinyTeX

parent fb7d21ea
No related branches found
No related tags found
No related merge requests found
Pipeline #10990 passed
......@@ -4,11 +4,10 @@ ARG NCPUS=1
ARG DEBIAN_FRONTEND=noninteractive
ARG TARGETARCH
ARG CTAN_REPO=${CTAN_REPO:-https://mirror.ctan.org/systems/texlive/tlnet}
ENV CTAN_REPO=${CTAN_REPO}
ENV PATH=/opt/TinyTeX/bin/${TARGETARCH}-linux:$PATH
ENV PATH=/opt/TinyTeX/bin/linux:$PATH
## Add LaTeX, rticles and bookdown support
RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
......@@ -59,8 +58,8 @@ RUN wget "https://travis-bin.yihui.name/texlive-local.deb" \
| sh -s - --admin --no-path \
&& mv ~/.TinyTeX /opt/TinyTeX \
&& ln -rs /opt/TinyTeX/bin/$(uname -m)-linux \
/opt/TinyTeX/bin/${TARGETARCH}-linux \
&& /opt/TinyTeX/bin/${TARGETARCH}-linux/tlmgr path add \
/opt/TinyTeX/bin/linux \
&& /opt/TinyTeX/bin/linux/tlmgr path add \
&& tlmgr update --self \
&& tlmgr install \
ae \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment