Skip to content

Commit

Permalink
del unnecessary yum install
Browse files Browse the repository at this point in the history
  • Loading branch information
HannahShiSFB committed Sep 30, 2020
1 parent 867f579 commit db768cf
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 31 deletions.
10 changes: 0 additions & 10 deletions tools/dockerfile/grpc_artifact_centos6_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
10 changes: 0 additions & 10 deletions tools/dockerfile/grpc_artifact_centos6_x86/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
11 changes: 0 additions & 11 deletions tools/dockerfile/grpc_artifact_linux_x64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit db768cf

Please sign in to comment.