1 # Copyright 2020 The 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.
15 # Docker file for building gRPC manylinux Python artifacts.
18 FROM quay.io/pypa/manylinux2014_x86_64
20 # Update the package manager
22 RUN yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel
24 ###################################
25 # Install Python build requirements
26 RUN /opt/python/cp35-cp35m/bin/pip install --upgrade cython
27 RUN /opt/python/cp36-cp36m/bin/pip install --upgrade cython
28 RUN /opt/python/cp37-cp37m/bin/pip install --upgrade cython
29 RUN /opt/python/cp38-cp38/bin/pip install --upgrade cython
30 RUN /opt/python/cp39-cp39/bin/pip install --upgrade cython