From 57269676491343e5a2f3b23b7000b2b72fb062c8 Mon Sep 17 00:00:00 2001 From: Lukas Eipert Date: Mon, 12 Jul 2021 15:47:59 +0200 Subject: [PATCH] Remove Pandoc and LaTeX from www-gitlab-com image With https://gitlab.com/gitlab-com/www-gitlab-com/-/merge_requests/81890 the last usage of pandoc / LaTeX was removed from the www-gitlab-com repo. This happened more than 2 months ago, so removing it from the image should be rather safe, especially considering we use merge trains. It reduces the image size by around 500 MB. --- scripts/install-www-gitlab-com | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/scripts/install-www-gitlab-com b/scripts/install-www-gitlab-com index fb0e283..14ff49e 100755 --- a/scripts/install-www-gitlab-com +++ b/scripts/install-www-gitlab-com @@ -6,21 +6,14 @@ IFS=$'\n\t' export DEBIAN_FRONTEND=noninteractive # echo "deb http://deb.debian.org/debian testing main" | tee -a /etc/apt/sources.list.d/testing.list -# Install LaTeX and other packages +# Install packages apt-get update apt-get install -yq --no-install-recommends \ make gcc g++ locales \ - rsync git-core texlive-latex-recommended texlive-xetex \ - texlive-fonts-recommended lmodern ed file curl gnupg2 \ + rsync git-core \ + ed file curl gnupg2 \ unzip \ - python3 python3-pip python3-crcmod - -# Install pandoc -cd /tmp -curl -L -O https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-2.3.1-linux.tar.gz -tar xvf pandoc-2.3.1-linux.tar.gz -cp pandoc-2.3.1/bin/* /usr/local/bin -rm -rf /tmp/pandoc* + python3 python3-pip python3-crcmod python-minimal # Install Imagemagick for cropping the pictures on the team page apt-get install -yq --no-install-recommends imagemagick