45f64aca511c9b8c78f4f2b12828d38a253bfd50
[platform/upstream/grpc.git] / tools / dockerfile / grpc_artifact_python_manylinux2014_x86 / 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_i686
19
20 # TODO(jtattermusch): revisit which of the deps are really required
21 RUN yum update -y && yum install -y curl-devel expat-devel gettext-devel openssl-devel zlib-devel
22
23 ###################################
24 # Install Python build requirements
25 RUN /opt/python/cp35-cp35m/bin/pip install --upgrade cython
26 RUN /opt/python/cp36-cp36m/bin/pip install --upgrade cython
27 RUN /opt/python/cp37-cp37m/bin/pip install --upgrade cython
28 RUN /opt/python/cp38-cp38/bin/pip install --upgrade cython
29 RUN /opt/python/cp39-cp39/bin/pip install --upgrade cython