From 17f864226801c7d3de6fbf7740c0c7f5a0815711 Mon Sep 17 00:00:00 2001 From: Cheng XU Date: Wed, 5 Jun 2024 11:30:17 -0700 Subject: [PATCH] feat: trying to reduce docker image size --- setup.sh | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/setup.sh b/setup.sh index d2053fb..4e65ca1 100755 --- a/setup.sh +++ b/setup.sh @@ -47,16 +47,16 @@ apt-get upgrade -y apt-get install -y --no-install-recommends --no-install-suggests \ curl \ fontconfig \ - fonts-freefont-ttf \ ghostscript \ git \ - gnupg \ - gnuplot \ + gpg \ + gpg-agent \ + gnuplot-nox \ graphviz \ make \ openjdk-17-jre-headless \ - perl \ - python3 \ + perl-base \ + python3-minimal \ python3-pygments \ tar @@ -87,9 +87,11 @@ retry 3 /tmp/install-tl/installer/install-tl -scheme "scheme-$scheme" -profile=/ if [[ $scheme != "full" ]]; then tlmgr install \ collection-bibtexextra \ - collection-binextra \ collection-fontsrecommended \ - collection-fontutils + collection-fontutils \ + latexmk \ + texliveonfly \ + xindy fi # System font configuration for XeTeX and LuaTeX