mirror of
https://ops.gitlab.net/gitlab-org/gitlab-build-images.git
synced 2025-12-09 18:12:55 +01:00
initial commit
This commit is contained in:
commit
aefaed4d90
13 changed files with 120 additions and 0 deletions
15
scripts/install-git
Executable file
15
scripts/install-git
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -xeo pipefail
|
||||
|
||||
cd /tmp
|
||||
wget https://www.kernel.org/pub/software/scm/git/git-2.7.4.tar.gz
|
||||
echo '7104c4f5d948a75b499a954524cb281fe30c6649d8abe20982936f75ec1f275b git-2.7.4.tar.gz' | shasum -a256 -c -
|
||||
tar -xzf git-2.7.4.tar.gz
|
||||
|
||||
cd git-2.7.4/
|
||||
./configure
|
||||
make prefix=/usr/local all
|
||||
|
||||
cd /
|
||||
rm -rf /tmp/*
|
||||
Loading…
Add table
Add a link
Reference in a new issue