mirror of https://github.com/grpc/grpc.git
The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://grpc.io/
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
2.7 KiB
99 lines
2.7 KiB
8 years ago
|
# Copyright 2015 gRPC authors.
|
||
9 years ago
|
#
|
||
8 years ago
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
||
|
# you may not use this file except in compliance with the License.
|
||
|
# You may obtain a copy of the License at
|
||
9 years ago
|
#
|
||
8 years ago
|
# http://www.apache.org/licenses/LICENSE-2.0
|
||
9 years ago
|
#
|
||
8 years ago
|
# Unless required by applicable law or agreed to in writing, software
|
||
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
||
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||
|
# See the License for the specific language governing permissions and
|
||
|
# limitations under the License.
|
||
9 years ago
|
|
||
4 years ago
|
FROM debian:buster
|
||
9 years ago
|
|
||
|
# Install Git and basic packages.
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
autoconf \
|
||
9 years ago
|
autotools-dev \
|
||
9 years ago
|
build-essential \
|
||
|
bzip2 \
|
||
|
ccache \
|
||
|
curl \
|
||
7 years ago
|
dnsutils \
|
||
9 years ago
|
gcc \
|
||
9 years ago
|
gcc-multilib \
|
||
9 years ago
|
git \
|
||
|
golang \
|
||
|
gyp \
|
||
|
lcov \
|
||
|
libc6 \
|
||
|
libc6-dbg \
|
||
|
libc6-dev \
|
||
|
libgtest-dev \
|
||
|
libtool \
|
||
|
make \
|
||
|
perl \
|
||
|
strace \
|
||
|
python-dev \
|
||
9 years ago
|
python-setuptools \
|
||
7 years ago
|
python-yaml \
|
||
9 years ago
|
telnet \
|
||
|
unzip \
|
||
|
wget \
|
||
|
zip && apt-get clean
|
||
|
|
||
|
#================
|
||
|
# Build profiling
|
||
|
RUN apt-get update && apt-get install -y time && apt-get clean
|
||
|
|
||
9 years ago
|
#====================
|
||
|
# Python dependencies
|
||
|
|
||
|
# Install dependencies
|
||
|
|
||
|
RUN apt-get update && apt-get install -y \
|
||
|
python-all-dev \
|
||
|
python3-all-dev \
|
||
5 years ago
|
python-setuptools
|
||
9 years ago
|
|
||
|
# Install Python packages from PyPI
|
||
5 years ago
|
RUN curl https://bootstrap.pypa.io/get-pip.py | python2.7
|
||
5 years ago
|
RUN pip install --upgrade pip==19.3.1
|
||
5 years ago
|
RUN pip install virtualenv==16.7.9
|
||
4 years ago
|
RUN pip install futures==2.2.0 enum34==1.0.4 protobuf==3.5.2.post1 six==1.15.0 twisted==17.5.0
|
||
9 years ago
|
|
||
5 years ago
|
# Google Cloud platform API libraries
|
||
|
RUN pip install --upgrade google-api-python-client oauth2client
|
||
|
|
||
9 years ago
|
#==================
|
||
|
# Ruby dependencies
|
||
|
|
||
|
# Install rvm
|
||
4 years ago
|
RUN apt-get update && apt-get install -y gnupg2 && apt-get clean
|
||
6 years ago
|
RUN gpg2 --keyserver hkp://pool.sks-keyservers.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB
|
||
9 years ago
|
RUN \curl -sSL https://get.rvm.io | bash -s stable
|
||
|
|
||
6 years ago
|
# Install Ruby 2.5
|
||
4 years ago
|
RUN apt-get update && apt-get install -y procps && apt-get clean
|
||
6 years ago
|
RUN /bin/bash -l -c "rvm install ruby-2.5"
|
||
|
RUN /bin/bash -l -c "rvm use --default ruby-2.5"
|
||
|
RUN /bin/bash -l -c "echo 'gem: --no-document' > ~/.gemrc"
|
||
9 years ago
|
RUN /bin/bash -l -c "echo 'export PATH=/usr/local/rvm/bin:$PATH' >> ~/.bashrc"
|
||
6 years ago
|
RUN /bin/bash -l -c "echo 'rvm --default use ruby-2.5' >> ~/.bashrc"
|
||
6 years ago
|
RUN /bin/bash -l -c "gem install bundler --no-document -v 1.9"
|
||
9 years ago
|
|
||
4 years ago
|
#=================
|
||
|
# Install cmake
|
||
|
# Note that this step should be only used for distributions that have new enough cmake to satisfy gRPC's cmake version requirement.
|
||
|
|
||
|
RUN apt-get update && apt-get install -y cmake && apt-get clean
|
||
|
|
||
9 years ago
|
|
||
|
RUN mkdir /var/local/jenkins
|
||
|
|
||
|
# Define the default command.
|
||
|
CMD ["bash"]
|