This is an automated email from the ASF dual-hosted git repository. elek pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/ozone-docker-builder.git
commit 9709e25deb9c317f7b307a887156374d845ae6dd Author: Doroszlai, Attila <[email protected]> AuthorDate: Mon Nov 16 11:46:14 2020 +0100 install latest git from source (#17) --- Dockerfile | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f22ee02..a88b82f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,12 +19,24 @@ RUN yum -y install gcc gcc-c++ kernel-devel make autoconf automake libtool which docker \ python-pip \ file python-devel \ - git \ + curl-devel dh-autoreconf expat-devel getopt gettext-devel openssl-devel perl-devel zlib-devel \ jq \ sudo -#Install protobuf ENV LD_LIBRARY_PATH=/usr/lib + +# Install git +RUN mkdir -p /usr/local/src/ && \ + cd /usr/local/src/ && \ + curl -sL https://www.kernel.org/pub/software/scm/git/git-2.29.2.tar.gz | tar xz && \ + cd git-2.29.2 && \ + make configure && \ + ./configure --prefix=/usr && \ + make all && \ + make install && \ + git --version + +#Install protobuf RUN mkdir -p /usr/local/src/ && \ cd /usr/local/src/ && \ curl -sL https://github.com/google/protobuf/releases/download/v2.5.0/protobuf-2.5.0.tar.gz | tar xz && \ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
