Merge pull request #5429 from jtattermusch/python_fedora21_distribtest

Fix python distribtest on fedora20 and fedora21.
pull/5439/head
Nathaniel Manista 9 years ago
commit 0d034da324
  1. 5
      tools/dockerfile/distribtest/python_fedora20_x64/Dockerfile
  2. 5
      tools/dockerfile/distribtest/python_fedora21_x64/Dockerfile

@ -30,3 +30,8 @@
FROM fedora:20
RUN yum clean all && yum update -y && yum install -y python python-pip
# Upgrading six would fail because of docker issue when using overlay.
# Trying twice makes it work fine.
# https://github.com/docker/docker/issues/10180
RUN pip2 install --upgrade six || pip2 install --upgrade six

@ -35,3 +35,8 @@ FROM fedora:21
RUN yum install -y yum-plugin-ovl
RUN yum clean all && yum update -y && yum install -y python python-pip
# Upgrading six would fail because of docker issue when using overlay.
# Trying twice makes it work fine.
# https://github.com/docker/docker/issues/10180
RUN pip2 install --upgrade six || pip2 install --upgrade six

Loading…
Cancel
Save