Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teaching
docker
Commits
2c67001d
Commit
2c67001d
authored
3 years ago
by
Praetorius, Simon
Browse files
Options
Downloads
Patches
Plain Diff
Update Dockerfile and add some more distributions
parent
814a07f8
Branches
master
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
README.md
+2
-2
2 additions, 2 deletions
README.md
latex-basic/Dockerfile
+9
-5
9 additions, 5 deletions
latex-basic/Dockerfile
latex-medium/Dockerfile
+67
-0
67 additions, 0 deletions
latex-medium/Dockerfile
latex-small/Dockerfile
+75
-0
75 additions, 0 deletions
latex-small/Dockerfile
with
153 additions
and
7 deletions
REAME.md
→
REA
D
ME.md
+
2
−
2
View file @
2c67001d
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Dockerfile
→
latex-basic/
Dockerfile
+
9
−
5
View file @
2c67001d
...
...
@@ -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
\
...
...
This diff is collapsed.
Click to expand it.
latex-medium/Dockerfile
0 → 100644
+
67
−
0
View file @
2c67001d
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"]
This diff is collapsed.
Click to expand it.
latex-small/Dockerfile
0 → 100644
+
75
−
0
View file @
2c67001d
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"]
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment