Open kneekey23 opened 2 years ago
cc @shahmishal @drexin
=> which version of CentOS is this? => how did you update git to make it work?
Version 7 of CentOS And this seems to work:
yum install -y make libcurl-devel git clone https://github.com/git/git -bv2.33.1 --depth 1 && cd git make prefix=/usr -j all install NO_OPENSSL=1 NO_EXPAT=1 NO_TCLTK=1 NO_GETTEXT=1 NO_PERL=1
@drexin wdyt?
@kneekey23 thanks do you need to use centos 7 or centos 8 is a option as well?
Let me investigate that, good question @tomerd
@kneekey23 Let us know if this is still an issue, otherwise we can close the issue. Thanks!
The older version of git installed on CentOS does not work with the version SPM uses to checkout packages. Using this image results in the following error from Swift Package Manager:
If I update git version in my docker file that is coming from this one, it works.