You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozone.apache.org by el...@apache.org on 2020/11/16 10:49:26 UTC
[ozone-docker] branch build-latest updated: install latest git from
source (#17)
This is an automated email from the ASF dual-hosted git repository.
elek pushed a commit to branch build-latest
in repository https://gitbox.apache.org/repos/asf/ozone-docker.git
The following commit(s) were added to refs/heads/build-latest by this push:
new 9709e25 install latest git from source (#17)
9709e25 is described below
commit 9709e25deb9c317f7b307a887156374d845ae6dd
Author: Doroszlai, Attila <64...@users.noreply.github.com>
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: commits-unsubscribe@ozone.apache.org
For additional commands, e-mail: commits-help@ozone.apache.org