• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2019 The gRPC Authors
2#
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
6#
7#     http://www.apache.org/licenses/LICENSE-2.0
8#
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.
14
15# Docker file for building gRPC manylinux Python artifacts.
16# Updated: 2020-06-25
17
18FROM quay.io/pypa/manylinux2010_i686
19
20# Update the package manager
21RUN yum update -y
22RUN yum install -y curl-devel expat-devel gettext-devel linux-headers openssl-devel zlib-devel gcc
23
24###################################
25# Install Python build requirements
26RUN /opt/python/cp27-cp27m/bin/pip install --upgrade cython
27RUN /opt/python/cp27-cp27mu/bin/pip install --upgrade cython
28RUN /opt/python/cp35-cp35m/bin/pip install --upgrade cython
29RUN /opt/python/cp36-cp36m/bin/pip install --upgrade cython
30RUN /opt/python/cp37-cp37m/bin/pip install --upgrade cython
31RUN /opt/python/cp38-cp38/bin/pip install --upgrade cython
32RUN /opt/python/cp39-cp39/bin/pip install --upgrade cython
33