aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile
diff options
context:
space:
mode:
authorGravatar ncteisen <ncteisen@gmail.com>2017-01-11 14:47:10 -0800
committerGravatar ncteisen <ncteisen@gmail.com>2017-01-11 14:47:10 -0800
commit1a75c546d071d0a3f63642dc219a450dbd751e15 (patch)
tree73fdd5ecede4319c3ab78814f96ed40f9cb79ca4 /tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile
parentd803b805aef97a03bd5873c1a8c3e534bd22feb7 (diff)
parent1d8db034928cffc681e52809a343cbb9b3215281 (diff)
Merge branch 'master' of https://github.com/grpc/grpc into rst_stream_error_code_fix
Diffstat (limited to 'tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile')
-rw-r--r--tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile b/tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile
index 810499695e..9af80078ed 100644
--- a/tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile
+++ b/tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile
@@ -34,6 +34,19 @@ FROM quay.io/pypa/manylinux1_i686
# Update the package manager
RUN yum update -y
+#############################################################
+# Update Git to allow cloning submodules with --reference arg
+RUN yum remove -y git
+RUN yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel gcc
+RUN cd /usr/src && \
+ wget https://kernel.org/pub/software/scm/git/git-2.0.5.tar.gz && \
+ tar xzf git-2.0.5.tar.gz
+RUN cd /usr/src/git-2.0.5 && \
+ make prefix=/usr/local/git all && \
+ make prefix=/usr/local/git install
+ENV PATH /usr/local/git/bin:$PATH
+RUN source /etc/bashrc
+
###################################
# Install Python build requirements
RUN /opt/python/cp27-cp27m/bin/pip install cython