mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Remove stretch from the list of apt sources after installing git
This commit is contained in:
parent
22cd8531df
commit
3a23bcdbf0
1 changed files with 4 additions and 1 deletions
|
|
@ -12,10 +12,13 @@ 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
|
||||
|
||||
# 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