1 # Copyright 2016 gRPC authors.
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
16 RUN sed -i '/deb http:\/\/deb.debian.org\/debian jessie-updates main/d' /etc/apt/sources.list
19 # Install Git and basic packages.
20 RUN apt-get update && apt-get install -y \
52 RUN apt-get update && apt-get install -y time && apt-get clean
57 # Install dependencies
59 RUN apt-get update && apt-get install -y \
60 git php5 php5-dev phpunit unzip
63 RUN mkdir /var/local/jenkins
66 RUN curl -sS https://getcomposer.org/installer | php
67 RUN mv composer.phar /usr/local/bin/composer
69 # Define the default command.