Skip to content

Commit

Permalink
install git
Browse files Browse the repository at this point in the history
  • Loading branch information
xrstf committed Jun 7, 2023
1 parent b2f6047 commit 431465f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions hack/build-image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@

set -euo pipefail

# make git available
if ! [ -x "$(command -v git)" ]; then
echo "Installing git ..."
yum install -y git
fi

# in CI, make use of the registry mirror to avoid getting rate limited
if [ -n "${DOCKER_REGISTRY_MIRROR_ADDR:-}" ]; then
# remove "http://" or "https://" prefix
Expand Down

0 comments on commit 431465f

Please sign in to comment.