Imported Upstream version 1.34.0
[platform/upstream/grpc.git] / tools / dockerfile / grpc_artifact_python_manylinux2014_x64 / Dockerfile
1 # Copyright 2020 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-10-08
17
18 FROM quay.io/pypa/manylinux2014_x86_64
19
20 # Update the package manager
21 RUN yum update -y
22 RUN yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel
23
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