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.
21 lines
557 B
21 lines
557 B
10 years ago
|
# Base Dockerfile for GRPC Python.
|
||
|
#
|
||
|
# Includes Python environment and installation dependencies.
|
||
|
FROM grpc/base
|
||
|
|
||
|
# Allows 'source' to work
|
||
|
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||
|
|
||
|
# Install Python development
|
||
|
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.0-alpha-1
|
||
|
|
||
|
# Get the GRPC source from GitHub
|
||
|
RUN git clone --recursive git@github.com:google/grpc.git /var/local/git/grpc
|