-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[DNM] test manpages from docker/cli gha-validate pr #620
Conversation
519fa99
to
1e9c6e8
Compare
On CentOS Jenkins nodes Git is quite old:
@thaJeztah Not sure where to update the Dockerfile |
7d77711
to
6208a41
Compare
# Use recent Git version | ||
ARG GIT_VERSION="2.30.0" | ||
RUN yum install -y \ | ||
curl-devel \ | ||
expat-devel \ | ||
gettext-devel \ | ||
openssl-devel \ | ||
perl-CPAN \ | ||
perl-devel \ | ||
wget \ | ||
zlib-devel \ | ||
&& yum --setopt=group_package_types=mandatory,default,optional groupinstall -y "Development Tools" \ | ||
&& wget https://github.com/git/git/archive/v${GIT_VERSION}.tar.gz -O git.tar.gz \ | ||
&& tar -zxf git.tar.gz \ | ||
&& cd git-* \ | ||
&& make prefix=/usr/local all \ | ||
&& make prefix=/usr/local install \ | ||
&& rm -rf /git* \ | ||
&& git --version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok needs to update Git for CentOS 7. I prefer to build from source as some third party repositories are not reliable and trusted. It takes a few minutes to build Git, so I think it's fine.
PTAL @thaJeztah about #620 (comment) if you have a better alternative. |
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
6208a41
to
a745906
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
a745906
to
2404572
Compare
testing:
cc @thaJeztah
Signed-off-by: CrazyMax crazy-max@users.noreply.github.com