File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,14 @@ RUN /install-openssl11.sh
45
45
WORKDIR /
46
46
47
47
ENV GIT_VERSION=2.38.1 DEVELOPER_CFLAGS='-std=gnu99'
48
- RUN curl -L -o /tmp/git.tar.gz "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" \
48
+ # - have to uninstall stock git to cleanup all git backend files,
49
+ # otherwise git from the newer version may encounter
50
+ # an error like "bogus format in GIT_CONFIG_PARAMETERS"
51
+ # - gnu99 flag is to address https://gitlab.com/gitlab-org/omnibus-gitlab/-/merge_requests/5948
52
+ # - libcurl-devel is needed to support clone from https remotes
53
+ RUN yum remove -y git \
54
+ && yum install -y libcurl-devel \
55
+ && curl -L -o /tmp/git.tar.gz "https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz" \
49
56
&& tar zxf /tmp/git.tar.gz -C /tmp \
50
57
&& cd "/tmp/git-${GIT_VERSION}/" \
51
58
&& make configure \
You can’t perform that action at this time.
0 commit comments