|  | @@ -27,9 +27,7 @@
 | 
	
		
			
				|  |  |  # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
 | 
	
		
			
				|  |  |  # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# Dockerfile for running gRPC test suites inside a docker container.
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -FROM 32bit/debian:jessie
 | 
	
		
			
				|  |  | +FROM debian:jessie
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  # Install Git and basic packages.
 | 
	
		
			
				|  |  |  RUN apt-get update && apt-get install -y \
 | 
	
	
		
			
				|  | @@ -61,48 +59,11 @@ RUN apt-get update && apt-get install -y \
 | 
	
		
			
				|  |  |    wget \
 | 
	
		
			
				|  |  |    zip && apt-get clean
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# Prepare ccache
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/g++
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/cc
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/c++
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/clang
 | 
	
		
			
				|  |  | -RUN ln -s /usr/bin/ccache /usr/local/bin/clang++
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | -# C++ dependencies
 | 
	
		
			
				|  |  | -RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -#################
 | 
	
		
			
				|  |  | -# C# dependencies
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Update to a newer version of mono
 | 
	
		
			
				|  |  | -RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF
 | 
	
		
			
				|  |  | -RUN echo "deb http://download.mono-project.com/repo/debian wheezy main" | tee /etc/apt/sources.list.d/mono-xamarin.list
 | 
	
		
			
				|  |  | -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-apache24-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
 | 
	
		
			
				|  |  | -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libjpeg62-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
 | 
	
		
			
				|  |  | -RUN echo "deb http://download.mono-project.com/repo/debian wheezy-libtiff-compat main" | tee -a /etc/apt/sources.list.d/mono-xamarin.list
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Install dependencies
 | 
	
		
			
				|  |  | -RUN apt-get update && apt-get -y dist-upgrade && apt-get install -y \
 | 
	
		
			
				|  |  | -    mono-devel \
 | 
	
		
			
				|  |  | -    nunit \
 | 
	
		
			
				|  |  | -    nunit-console \
 | 
	
		
			
				|  |  | -    monodevelop
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Download NuGet
 | 
	
		
			
				|  |  | -RUN cd /var/local && wget www.nuget.org/NuGet.exe
 | 
	
		
			
				|  |  | -ENV NUGET mono /var/local/NuGet.exe
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | -# Node dependencies
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Install nvm
 | 
	
		
			
				|  |  | -RUN touch .profile
 | 
	
		
			
				|  |  | -RUN curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.25.4/install.sh | bash
 | 
	
		
			
				|  |  | -RUN /bin/bash -l -c "nvm install 0.12 && npm config set cache /tmp/npm-cache"
 | 
	
		
			
				|  |  | +#================
 | 
	
		
			
				|  |  | +# Build profiling
 | 
	
		
			
				|  |  | +RUN apt-get update && apt-get install -y time && apt-get clean
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | +#==================
 | 
	
		
			
				|  |  |  # Ruby dependencies
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  # Install rvm
 | 
	
	
		
			
				|  | @@ -117,45 +78,19 @@ 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 --no-ri --no-rdoc"
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | -# Python dependencies
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Install dependencies
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -RUN apt-get update && apt-get install -y \
 | 
	
		
			
				|  |  | -    python-all-dev \
 | 
	
		
			
				|  |  | -    python3-all-dev \
 | 
	
		
			
				|  |  | -    python-pip \
 | 
	
		
			
				|  |  | -    python-virtualenv
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# Install Python packages from PyPI
 | 
	
		
			
				|  |  | -RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.0.0a2
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -# For sanity test
 | 
	
		
			
				|  |  | -RUN pip install simplejson mako
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | -# 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
 | 
	
		
			
				|  |  | +# Prepare ccache
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/gcc
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/g++
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/cc
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/c++
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/clang
 | 
	
		
			
				|  |  | +RUN ln -s /usr/bin/ccache /usr/local/bin/clang++
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | +#======================
 | 
	
		
			
				|  |  |  # Zookeeper dependencies
 | 
	
		
			
				|  |  | +# TODO(jtattermusch): is zookeeper still needed?
 | 
	
		
			
				|  |  |  RUN apt-get install -y libzookeeper-mt-dev
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -##################
 | 
	
		
			
				|  |  | -# Build profiling
 | 
	
		
			
				|  |  | -RUN apt-get install -y time
 | 
	
		
			
				|  |  | -
 | 
	
		
			
				|  |  |  RUN mkdir /var/local/jenkins
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  # Define the default command.
 |