Skip to content

Commit 71043e7

Browse files
committed
Remove packages from image
1 parent 9a714f7 commit 71043e7

2 files changed

Lines changed: 5 additions & 24 deletions

File tree

Dockerfile

Lines changed: 4 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -15,32 +15,13 @@ RUN tlmgr option repository "https://mirror.ctan.org/systems/texlive/tlnet" && \
1515
i=1; \
1616
until [ "$i" -gt 3 ]; do \
1717
tlmgr update --self && \
18-
tlmgr install fancyhdr \
19-
fontawesome \
20-
pgf \
21-
lastpage \
22-
collection-latexrecommended \
23-
collection-latexextra \
24-
collection-fontsrecommended \
25-
collection-bibtexextra \
26-
collection-mathscience \
27-
collection-pictures \
28-
collection-publishers \
29-
biber \
18+
tlmgr install biber \
3019
latexmk \
31-
synctex \
32-
texcount \
3320
latexindent \
3421
chktex \
35-
titlesec \
36-
marvosym \
37-
enumitem \
38-
preprint \
39-
opensans \
40-
revtex \
41-
revtex4-1 \
42-
textcase \
43-
fontaxes && break; \
22+
texliveonfly \
23+
synctex \
24+
texcount && break; \
4425
echo "tlmgr failed on attempt ${i}/3, retrying in 15s..." >&2; \
4526
i=$((i + 1)); \
4627
sleep 15; \

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ docker run --rm -it \
1919
-v "$HOME/.cache/tinytex":/root/.TinyTeX \
2020
-w /work \
2121
ghcr.io/calkit/tinytex-latexmk-docker:latest \
22-
latexmk -pdf main.tex
22+
texliveonfly --compiler "latexmk -pdf" main.tex
2323
```
2424

2525
Change `main.tex` to your document entrypoint.

0 commit comments

Comments
 (0)