mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
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.
This commit is contained in:
parent
1e20456b32
commit
5726967649
1 changed files with 4 additions and 11 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue