Skip to content
Snippets Groups Projects
Commit 2c67001d authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Update Dockerfile and add some more distributions

parent 814a07f8
Branches master
No related tags found
No related merge requests found
......@@ -2,5 +2,5 @@
1. Login to Uni VPN
2. `docker login gitlab.mn.tu-dresden.de:8000`
3. `docker build -t gitlab.mn.tu-dresden.de:8000/teaching/docker/latex-builder .`
4. `docker push gitlab.mn.tu-dresden.de:8000/teaching/docker/latex-builder`
\ No newline at end of file
3. `docker build -t gitlab.mn.tu-dresden.de:8000/teaching/docker/latex-XX latex-XX`
4. `docker push gitlab.mn.tu-dresden.de:8000/teaching/docker/latex-XX`
\ No newline at end of file
......@@ -37,36 +37,40 @@ RUN curl -sL http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/
ENV PATH="/usr/local/texlive/2021/bin/x86_64-linux:${PATH}"
RUN tlmgr -repository ctan install \
RUN tlmgr update --self \
&& tlmgr -repository ctan install \
alg \
algorithmicx \
amsmath \
amsfonts \
catchfile \
bibtex \
cleveref \
etoolbox \
environ \
fancyvrb \
float \
framed \
fvextra \
hyperref \
imakeidx \
koma-script \
lastpage \
latexdiff \
latexpand \
latexmk \
lineno \
lipsum \
listings \
mdframed \
minted \
multirow \
needspace \
paralist \
pict2e \
pgf \
qtree \
tcolorbox \
tensor \
todo \
upquote \
xargs \
xcolor \
xkeyval \
xpatch \
......
FROM debian:bullseye
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8
LABEL maintainer="Simon Praetorius <simon.praetorius@tu-dresden.de>"
RUN rm -f /etc/apt/apt.conf.d/docker-gzip-indexes \
&& rm -rf /var/lib/apt/lists/*
RUN export DEBIAN_FRONTEND=noninteractive; \
apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
&& apt-get install --no-install-recommends --yes \
curl \
fontconfig \
gnupg \
libdigest-perl-md5-perl \
libgetopt-long-descriptive-perl \
make \
python3 \
python3-pip \
wget \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -U pip \
&& python3 -m pip install Pygments
WORKDIR /
RUN curl -sL http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz | tar zxf - \
&& mv install-tl-20* install-tl \
&& cd install-tl \
&& echo "selected_scheme scheme-medium" > profile \
&& echo "tlpdbopt_install_docfiles 0" >> profile \
&& echo "tlpdbopt_install_srcfiles 0" >> profile \
&& ./install-tl -repository http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/ -profile profile \
&& cd .. \
&& rm -rf install-tl
ENV PATH="/usr/local/texlive/2021/bin/x86_64-linux:${PATH}"
RUN tlmgr -repository ctan install \
catchfile \
cleveref \
collection-fontsrecommended \
environ \
framed \
fvextra \
imakeidx \
lastpage \
lipsum \
mdframed \
minted \
multirow \
needspace \
paralist \
pict2e \
qtree \
tcolorbox \
todo \
upquote \
xargs \
xpatch \
xstring \
zref
WORKDIR /home
CMD ["tlmgr", "--version"]
FROM debian:bullseye
ENV LANG=C.UTF-8 \
LC_ALL=C.UTF-8
LABEL maintainer="Simon Praetorius <simon.praetorius@tu-dresden.de>"
RUN rm -f /etc/apt/apt.conf.d/docker-gzip-indexes \
&& rm -rf /var/lib/apt/lists/*
RUN export DEBIAN_FRONTEND=noninteractive; \
apt-get update && apt-get dist-upgrade --no-install-recommends --yes \
&& apt-get install --no-install-recommends --yes \
curl \
fontconfig \
gnupg \
libdigest-perl-md5-perl \
libgetopt-long-descriptive-perl \
make \
python3 \
python3-pip \
wget \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
RUN python3 -m pip install -U pip \
&& python3 -m pip install Pygments
WORKDIR /
RUN curl -sL http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/install-tl-unx.tar.gz | tar zxf - \
&& mv install-tl-20* install-tl \
&& cd install-tl \
&& echo "selected_scheme scheme-small" > profile \
&& echo "tlpdbopt_install_docfiles 0" >> profile \
&& echo "tlpdbopt_install_srcfiles 0" >> profile \
&& ./install-tl -repository http://ctan.math.washington.edu/tex-archive/systems/texlive/tlnet/ -profile profile \
&& cd .. \
&& rm -rf install-tl
ENV PATH="/usr/local/texlive/2021/bin/x86_64-linux:${PATH}"
RUN tlmgr -repository ctan install \
alg \
algorithmicx \
catchfile \
cleveref \
collection-fontsrecommended \
environ \
epstopdf \
framed \
fvextra \
imakeidx \
lastpage \
latexdiff \
latexpand \
latexmk \
lipsum \
mdframed \
minted \
multirow \
needspace \
newtx \
paralist \
pgfplots \
pict2e \
qtree \
tcolorbox \
tensor \
todo \
xargs \
xpatch \
xstring \
zref
WORKDIR /home
CMD ["tlmgr", "--version"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment