latex-docker/Dockerfile

28 lines
823 B
Text
Raw Normal View History

2022-10-16 09:55:30 +00:00
FROM ubuntu:jammy
LABEL author="Melora Hugues"
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update -q \
&& apt-get install -qy build-essential wget libfontconfig1 \
&& rm -rf /var/lib/apt/lists/*
2022-10-16 11:35:46 +00:00
# Install TexLive with scheme-full
2022-10-16 09:55:30 +00:00
RUN wget http://mirror.ctan.org/systems/texlive/tlnet/install-tl-unx.tar.gz; \
mkdir /install-tl-unx; \
tar -xvf install-tl-unx.tar.gz -C /install-tl-unx --strip-components=1; \
2022-10-16 11:35:46 +00:00
echo "selected_scheme scheme-full" >> /install-tl-unx/texlive.profile; \
2022-10-16 09:55:30 +00:00
/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}"
ENV HOME /data
WORKDIR /data
# Install latex packages
RUN tlmgr install latexmk && \
tlmgr install fontawesome
VOLUME ["/data"]