mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
31 lines
824 B
Bash
Executable file
31 lines
824 B
Bash
Executable file
#!/bin/bash
|
|
|
|
set -xeuo pipefail
|
|
IFS=$'\n\t'
|
|
|
|
export DEBIAN_FRONTEND=noninteractive
|
|
|
|
apt-get update
|
|
apt-get install -y \
|
|
curl wget build-essential apt-utils locales \
|
|
libssl-dev libyaml-dev libreadline6-dev zlib1g-dev \
|
|
libncurses5-dev libffi-dev libgdbm3 libgdbm-dev \
|
|
ca-certificates libyaml-dev checkinstall libxml2-dev \
|
|
libxslt-dev libcurl4-openssl-dev libicu-dev \
|
|
logrotate python-docutils pkg-config cmake nodejs \
|
|
libkrb5-dev postgresql-client mysql-client unzip \
|
|
libre2-dev gettext \
|
|
|
|
apt-get clean -yqq
|
|
|
|
# Set UTF-8
|
|
# http://stackoverflow.com/a/3182519/2137281
|
|
LOC=$'LC_ALL=en_US.UTF-8\nLANG=en_US.UTF-8'
|
|
echo "$LOC" > /etc/environment
|
|
cat /etc/environment
|
|
echo "en_US.UTF-8 UTF-8" > /etc/locale.gen
|
|
locale-gen
|
|
dpkg-reconfigure locales -f noninteractive -p critical
|
|
locale -a
|
|
|
|
rm -rf /var/lib/apt/lists/*
|