From db768cfcbbd84c043dffa200e659487a8f2bf66d Mon Sep 17 00:00:00 2001 From: root <hannahshisfb@gmail.com> Date: Thu, 27 Aug 2020 06:17:35 +0000 Subject: [PATCH] del unnecessary yum install --- tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile | 10 ---------- tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile | 10 ---------- tools/dockerfile/grpc_artifact_linux_x64/Dockerfile | 11 ----------- 3 files changed, 31 deletions(-) diff --git a/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile b/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile index e765c876165..d2b2d8ef027 100644 --- a/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile +++ b/tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile @@ -39,16 +39,6 @@ RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.6' >> ~/.bashrc" RUN /bin/bash -l -c "gem install bundler" - -################## -# PHP dependencies - -RUN yum -y install php5 php5-dev php-pear - -RUN wget https://phar.phpunit.de/phpunit-5.7.27.phar && \ - mv phpunit-5.7.27.phar /usr/local/bin/phpunit && \ - chmod +x /usr/local/bin/phpunit - # Clean yum RUN yum clean all diff --git a/tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile b/tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile index 0afe909f5c9..ec6a25a30da 100644 --- a/tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile +++ b/tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile @@ -39,16 +39,6 @@ RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.6' >> ~/.bashrc" RUN /bin/bash -l -c "gem install bundler" - -################## -# PHP dependencies - -RUN yum -y install php5 php5-dev php-pear - -RUN wget https://phar.phpunit.de/phpunit-5.7.27.phar && \ - mv phpunit-5.7.27.phar /usr/local/bin/phpunit && \ - chmod +x /usr/local/bin/phpunit - # Clean yum RUN yum clean all diff --git a/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile b/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile index a90aadd23f2..922e61b1689 100644 --- a/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile +++ b/tools/dockerfile/grpc_artifact_linux_x64/Dockerfile @@ -62,17 +62,6 @@ RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc" RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.1' >> ~/.bashrc" RUN /bin/bash -l -c "gem install bundler -v 1.17.3 --no-document" - -################## -# PHP dependencies - -RUN apt-get update && apt-get install -y \ - php5 php5-dev php-pear && apt-get clean - -RUN wget https://phar.phpunit.de/phpunit-5.7.27.phar && \ - mv phpunit-5.7.27.phar /usr/local/bin/phpunit && \ - chmod +x /usr/local/bin/phpunit - ################## # C# dependencies (needed to build grpc_csharp_ext)