Skip to content
Snippets Groups Projects
Commit ed049fe1 authored by Marco Martinez's avatar Marco Martinez :speech_balloon:
Browse files

add architecture independence

parent 1a49f9a7
No related branches found
No related tags found
1 merge request!3add architecture independence
Pipeline #178131 passed
......@@ -7,15 +7,15 @@ ENV DEBIAN_FRONTEND noninteractive
# Install basics
RUN apt-get update -q \
&& apt-get install -qy --no-install-recommends \
build-essential \
wget \
libfontconfig1 \
locales \
rubber \
python3 \
python3-pip \
python3-pygments \
fonts-liberation \
build-essential \
wget \
libfontconfig1 \
locales \
rubber \
python3 \
python3-pip \
python3-pygments \
fonts-liberation \
&& rm -rf /var/lib/apt/lists/*
RUN pip3 install gummi
......@@ -36,9 +36,13 @@ RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
/install-tl-unx/install-tl -profile /install-tl-unx/texlive.profile; \
rm -r /install-tl-unx; \
rm install-tl-unx.tar.gz
ENV PATH="/usr/local/texlive/2022/bin/x86_64-linux:${PATH}"
RUN tlmgr install latexmk
RUN tlmgr install scheme-full
RUN export PATH="/usr/local/texlive/2022/bin/$(uname -p)-linux:${PATH}"; \
tlmgr install latexmk; \
tlmgr install scheme-full
# Add texlive to PATH with correct architecture
RUN echo "export PATH=/usr/local/texlive/2022/bin/$(uname -p)-linux:\$PATH" >> /home/vscode/.bashrc
# Fix latexindent requirements
RUN cpan Unicode::GCString; \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment