del unnecessary yum install

pull/23922/head
root 5 years ago
parent 867f579e54
commit db768cfcbb
  1. 10
      tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile
  2. 10
      tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile
  3. 11
      tools/dockerfile/grpc_artifact_linux_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

@ -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

@ -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)

Loading…
Cancel
Save