Use a Docker image that includes Python3.7rc1

In order to build Python3.7 packages for manylinux1
platform, we need our Docker image to include
Python3.7.  Unfortunately, since Python 3.7 is still
in RC1 stage, the official docker image does not
include that Python release, so we temporarily
rely on our own underlying docker image to build.
pull/15765/head
Mehrdad Afshari 7 years ago committed by Mehrdad Afshari
parent 87d08a3b16
commit 26cb182dad
  1. 5
      tools/dockerfile/grpc_artifact_python_manylinux_x64/Dockerfile
  2. 5
      tools/dockerfile/grpc_artifact_python_manylinux_x86/Dockerfile

@ -14,7 +14,9 @@
# Docker file for building gRPC manylinux Python artifacts.
FROM quay.io/pypa/manylinux1_x86_64
# TODO(mmx): revert to the official manylinux1 docker image
# after it ships with Python 3.7
FROM grpctesting/manylinux1_temp_py37rc1_x86_64:79891dc2ec764b62a2dd2ffd083d381efde11a5f
# Update the package manager
RUN yum update -y
@ -27,6 +29,7 @@ RUN /opt/python/cp27-cp27mu/bin/pip install cython
RUN /opt/python/cp34-cp34m/bin/pip install cython
RUN /opt/python/cp35-cp35m/bin/pip install cython
RUN /opt/python/cp36-cp36m/bin/pip install cython
RUN /opt/python/cp37-cp37m/bin/pip install cython
####################################################
# Install auditwheel with fix for namespace packages

@ -14,7 +14,9 @@
# Docker file for building gRPC manylinux Python artifacts.
FROM quay.io/pypa/manylinux1_i686
# TODO(mmx): revert to the official manylinux1 docker image
# after it ships with Python 3.7
FROM grpctesting/manylinux1_temp_py37rc1_i686:79891dc2ec764b62a2dd2ffd083d381efde11a5f
# Update the package manager
RUN yum update -y
@ -27,6 +29,7 @@ RUN /opt/python/cp27-cp27mu/bin/pip install cython
RUN /opt/python/cp34-cp34m/bin/pip install cython
RUN /opt/python/cp35-cp35m/bin/pip install cython
RUN /opt/python/cp36-cp36m/bin/pip install cython
RUN /opt/python/cp37-cp37m/bin/pip install cython
####################################################
# Install auditwheel with fix for namespace packages

Loading…
Cancel
Save