mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Clean up comments in www-gitlab-com
This commit is contained in:
parent
4941c5cf64
commit
dc7e538ef7
1 changed files with 7 additions and 5 deletions
|
|
@ -5,29 +5,30 @@ IFS=$'\n\t'
|
||||||
|
|
||||||
export DEBIAN_FRONTEND=noninteractive
|
export DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# Install LaTeX and pandoc 2.3.1
|
# Install LaTeX and other 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-latex-recommended texlive-xetex \
|
||||||
texlive-fonts-recommended lmodern ed file curl gnupg2 \
|
texlive-fonts-recommended lmodern ed file curl gnupg2 \
|
||||||
yamllint python3-pkg-resources \
|
yamllint python3-pkg-resources
|
||||||
|
|
||||||
|
# Install pandoc
|
||||||
cd /tmp
|
cd /tmp
|
||||||
curl -L -O https://github.com/jgm/pandoc/releases/download/2.3.1/pandoc-2.3.1-linux.tar.gz
|
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
|
tar xvf pandoc-2.3.1-linux.tar.gz
|
||||||
cp pandoc-2.3.1/bin/* /usr/local/bin
|
cp pandoc-2.3.1/bin/* /usr/local/bin
|
||||||
rm -rf /tmp/pandoc*
|
rm -rf /tmp/pandoc*
|
||||||
|
|
||||||
# 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
|
||||||
|
|
||||||
# Installing node & yarn
|
# Instal node & yarn
|
||||||
NODE_INSTALL_VERSION=12.4.0
|
NODE_INSTALL_VERSION=12.4.0
|
||||||
YARN_INSTALL_VERSION=1.21.1-1
|
YARN_INSTALL_VERSION=1.21.1-1
|
||||||
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
|
/scripts/install-node $NODE_INSTALL_VERSION $YARN_INSTALL_VERSION && node --version && yarn --version
|
||||||
|
|
||||||
# Installing gitlab-runner
|
# Instal gitlab-runner
|
||||||
curl -O -J -L https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64
|
curl -O -J -L https://gitlab-ci-multi-runner-downloads.s3.amazonaws.com/latest/binaries/gitlab-ci-multi-runner-linux-amd64
|
||||||
mv gitlab-ci-multi-runner-linux-amd64 /usr/bin/gitlab-runner-helper
|
mv gitlab-ci-multi-runner-linux-amd64 /usr/bin/gitlab-runner-helper
|
||||||
chmod +x /usr/bin/gitlab-runner-helper
|
chmod +x /usr/bin/gitlab-runner-helper
|
||||||
|
|
@ -38,6 +39,7 @@ locale-gen
|
||||||
update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
|
update-locale LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 LC_ALL=en_US.UTF-8
|
||||||
locale -a
|
locale -a
|
||||||
|
|
||||||
|
# Clean up
|
||||||
apt-get autoremove -yq
|
apt-get autoremove -yq
|
||||||
apt-get clean -yqq
|
apt-get clean -yqq
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue