Skip to content

Commit b7299a9

Browse files
committed
update git on centos7, really old version by default that messes go mod download
Signed-off-by: Guillaume Tardif <[email protected]>
1 parent e98d060 commit b7299a9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

rpm/SPECS/docker-ce-cli.spec

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ pushd /go/src/github.com/docker/cli
5050
DISABLE_WARN_OUTSIDE_CONTAINER=1 make VERSION=%{_origversion} GITCOMMIT=%{_gitcommit_cli} dynbinary manpages # cli
5151
popd
5252

53+
if [ "$SUITE" == "7" ]; then
54+
yum install -y http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
55+
yum install -y git
56+
fi
57+
git version
58+
5359
# Build all associated plugins
5460
pushd ${RPM_BUILD_DIR}/src/plugins
5561
for installer in *.installer; do

0 commit comments

Comments
 (0)