Verified Commit e4651343 authored by Olivier Benz's avatar Olivier Benz
Browse files

verse: Remove TARGETARCH from PATH for TinyTeX

parent 89d783b2
......@@ -10,13 +10,12 @@ ARG DEBIAN_FRONTEND=noninteractive
ARG CODE_BUILTIN_EXTENSIONS_DIR
ARG CTAN_REPO
ARG TARGETARCH
USER root
ENV HOME=/root \
CTAN_REPO=${CTAN_REPO} \
PATH=/opt/TinyTeX/bin/${TARGETARCH}-linux:$PATH
PATH=/opt/TinyTeX/bin/linux:$PATH
WORKDIR ${HOME}
......@@ -67,8 +66,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 \
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment