mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
27 lines
685 B
Bash
Executable file
27 lines
685 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -xeuo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
apt-get update
|
|
apt-get install -yq --no-install-recommends \
|
|
make gcc g++ locales \
|
|
git-core texlive-latex-recommended texlive-xetex \
|
|
texlive-fonts-recommended lmodern ed file curl gnupg2
|
|
|
|
# Install pandoc v2.3.1
|
|
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
|
|
|
|
# Set UTF-8
|
|
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
|
locale-gen
|
|
update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
|
|
locale -a
|
|
|
|
apt-get autoremove -yq
|
|
apt-get clean -yqq
|
|
rm -rf /var/lib/apt/lists/*
|