aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar Ken Payson <kpayson@google.com>2017-06-19 12:41:15 -0700
committerGravatar Ken Payson <kpayson@google.com>2017-06-19 12:55:52 -0700
commit33215f0dba2c1d29e877917df0e749358eb6afed (patch)
tree5818e1ec8e400e1ea25e059bb4ec00aa6ad35098 /tools
parent596c05a3244cb84c846faa33030cc46eb6dfd0af (diff)
Fix protoc artifact
Diffstat (limited to 'tools')
-rw-r--r--tools/dockerfile/grpc_artifact_protoc/Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/dockerfile/grpc_artifact_protoc/Dockerfile b/tools/dockerfile/grpc_artifact_protoc/Dockerfile
index 2904a8fa51..44d0eb57fd 100644
--- a/tools/dockerfile/grpc_artifact_protoc/Dockerfile
+++ b/tools/dockerfile/grpc_artifact_protoc/Dockerfile
@@ -60,10 +60,9 @@ RUN yum install -y devtoolset-1.1 \
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
+RUN yum remove -y git && yum clean all
+RUN yum install -y https://centos6.iuscommunity.org/ius-release.rpm && yum clean all
+RUN yum install -y git2u && yum clean all
# Start in devtoolset environment that uses GCC 4.7
CMD ["scl", "enable", "devtoolset-1.1", "bash"]