mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
Merge branch 'leipert-reduce-www-gitlab-image-size' into 'master'
Remove Pandoc and LaTeX from www-gitlab-com image See merge request gitlab-org/gitlab-build-images!421
This commit is contained in:
commit
d242bf4ed6
1 changed files with 4 additions and 11 deletions
|
|
@ -6,21 +6,14 @@ IFS=$'\n\t'
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# echo "deb http://deb.debian.org/debian testing main" | tee -a /etc/apt/sources.list.d/testing.list
|
# 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 update
|
||||||
apt-get install -yq --no-install-recommends \
|
apt-get install -yq --no-install-recommends \
|
||||||
make gcc g++ locales \
|
make gcc g++ locales \
|
||||||
rsync git-core texlive-latex-recommended texlive-xetex \
|
rsync git-core \
|
||||||
texlive-fonts-recommended lmodern ed file curl gnupg2 \
|
ed file curl gnupg2 \
|
||||||
unzip \
|
unzip \
|
||||||
python3 python3-pip python3-crcmod
|
python3 python3-pip python3-crcmod python-minimal
|
||||||
|
|
||||||
# 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*
|
|
||||||
|
|
||||||
# Install Imagemagick for cropping the pictures on the team page
|
# Install Imagemagick for cropping the pictures on the team page
|
||||||
apt-get install -yq --no-install-recommends imagemagick
|
apt-get install -yq --no-install-recommends imagemagick
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue