mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Merge branch 'cleanup-apt' into 'master'
Clean up `apt` configuration and cache See merge request !21
This commit is contained in:
commit
ba95510cb4
1 changed files with 6 additions and 1 deletions
|
|
@ -12,10 +12,15 @@ apt-get install -y \
|
|||
logrotate python-docutils pkg-config cmake nodejs \
|
||||
libkrb5-dev postgresql-client mysql-client unzip \
|
||||
|
||||
echo deb http://httpredir.debian.org/debian stretch main > /etc/apt/sources.list
|
||||
echo deb http://httpredir.debian.org/debian stretch main > /etc/apt/sources.list.d/stretch.list
|
||||
apt-get update -yqqq
|
||||
apt-get install -yqq --force-yes git
|
||||
|
||||
rm /etc/apt/sources.list.d/stretch.list
|
||||
apt-get update -yqqq
|
||||
|
||||
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'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue