diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2016-12-14 18:28:07 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2016-12-14 18:34:56 +0100 |
commit | 3ad655099e41ae598e3041f18f3f28c106a60d3e (patch) | |
tree | a6fbba33ae9f81c44abf2d507b6764827e48b87a /tools/dockerfile/grpc_artifact_protoc/Dockerfile | |
parent | 9addf903de165bdab8a4b41f4678b4196a2257f2 (diff) |
fix building protoc artifacts on linux
Diffstat (limited to 'tools/dockerfile/grpc_artifact_protoc/Dockerfile')
-rw-r--r-- | tools/dockerfile/grpc_artifact_protoc/Dockerfile | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_artifact_protoc/Dockerfile b/tools/dockerfile/grpc_artifact_protoc/Dockerfile index 1bbc6e021b..2904a8fa51 100644 --- a/tools/dockerfile/grpc_artifact_protoc/Dockerfile +++ b/tools/dockerfile/grpc_artifact_protoc/Dockerfile @@ -59,5 +59,11 @@ RUN yum install -y devtoolset-1.1 \ devtoolset-1.1-libstdc++-devel \ devtoolset-1.1-libstdc++-devel.i686 || true +# Update Git to version >1.7 to allow cloning submodules with --reference arg. +RUN yum remove -y git +RUN yum install -y epel-release +RUN yum install -y https://centos6.iuscommunity.org/ius-release.rpm +RUN yum install -y git2u + # Start in devtoolset environment that uses GCC 4.7 CMD ["scl", "enable", "devtoolset-1.1", "bash"] |