mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 10:02:56 +01:00
Install git-core
This commit is contained in:
parent
3e7f7696aa
commit
ba4b0253d4
1 changed files with 6 additions and 5 deletions
|
|
@ -7,10 +7,11 @@ export DEBIAN_FRONTEND=noninteractive
|
|||
|
||||
apt-get update
|
||||
|
||||
EXIT_CODE=0
|
||||
grep "Debian GNU/Linux 9" /etc/issue || EXIT_CODE=$?
|
||||
# We install `git-core` as some tooling expect `/usr/bin/git`
|
||||
# other tools that rely on PATH ordering will pick a one in `/usr/local`
|
||||
# if present
|
||||
|
||||
if [ $EXIT_CODE -eq 0 ]
|
||||
if grep "Debian GNU/Linux 9" /etc/issue
|
||||
then
|
||||
apt-get install -y \
|
||||
curl wget build-essential apt-utils locales openssh-client \
|
||||
|
|
@ -21,7 +22,7 @@ then
|
|||
logrotate python-docutils pkg-config cmake nodejs \
|
||||
libkrb5-dev postgresql-client mysql-client unzip \
|
||||
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
|
||||
libre2-dev gettext rsync
|
||||
libre2-dev gettext rsync git-core
|
||||
else
|
||||
apt-get install -y \
|
||||
curl wget build-essential apt-utils locales openssh-client \
|
||||
|
|
@ -31,7 +32,7 @@ else
|
|||
logrotate python-docutils pkg-config cmake \
|
||||
libkrb5-dev postgresql-client unzip \
|
||||
libsqlite3-dev libpq-dev libpng-dev libjpeg-dev libzstd-dev \
|
||||
libre2-dev gettext rsync
|
||||
libre2-dev gettext rsync git-core
|
||||
fi
|
||||
|
||||
# Set UTF-8
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue