diff options
author | 2015-06-16 07:40:07 -0700 | |
---|---|---|
committer | 2015-06-16 07:40:07 -0700 | |
commit | f64c68cae503b48b9384a2c7d903389f83f8eae3 (patch) | |
tree | c3b296038bd15fcbf0becf432c5579518f313f02 | |
parent | ac366f9c2e3736815c4445baa4ad4745d2b0b511 (diff) | |
parent | 932fbd7d2d3aa93e55265829a259de7a5b8dfc16 (diff) |
Merge pull request #2066 from stanley-cheung/add_php_to_jenkins
Add PHP to jenkins
-rw-r--r-- | tools/jenkins/grpc_jenkins_slave/Dockerfile | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tools/jenkins/grpc_jenkins_slave/Dockerfile b/tools/jenkins/grpc_jenkins_slave/Dockerfile index c3722457db..c48bc0220f 100644 --- a/tools/jenkins/grpc_jenkins_slave/Dockerfile +++ b/tools/jenkins/grpc_jenkins_slave/Dockerfile @@ -115,5 +115,19 @@ RUN apt-get update && apt-get install -y \ # Install Python packages from PyPI RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2 +################## +# PHP dependencies + +# Install dependencies + +RUN /bin/bash -l -c "echo 'deb http://packages.dotdeb.org wheezy-php55 all' \ + >> /etc/apt/sources.list.d/dotdeb.list" +RUN /bin/bash -l -c "echo 'deb-src http://packages.dotdeb.org wheezy-php55 all' \ + >> /etc/apt/sources.list.d/dotdeb.list" +RUN wget http://www.dotdeb.org/dotdeb.gpg -O- | apt-key add - + +RUN apt-get update && apt-get install -y \ + git php5 php5-dev phpunit unzip + # Define the default command. CMD ["bash"] |