Bug 1449629 - Install Python 3.5 in debian-base; r?glandium draft
authorGregory Szorc <gps@mozilla.com>
Mon, 02 Apr 2018 16:58:21 -0700
changeset 776431 0e12d3a93b67b08ade239434e73bb224bcc41c9e
parent 776430 1fce08651eabb661d8fddaa78089af73509154f7
child 776764 885322f95dcdc4590551210e1612492ae91a3f1c
push id104879
push userbmo:gps@mozilla.com
push dateTue, 03 Apr 2018 02:27:40 +0000
reviewersglandium
bugs1449629
milestone61.0a1
Bug 1449629 - Install Python 3.5 in debian-base; r?glandium We want Python 3.5+ to be available everywhere so various processes can start using it. The debian-base Dockerfile is shared by Debian 7 and 9 images. Debian 9 ships with Python 3.5 and after the previous commit, we have a Python 3.5 package for Debian 7. So we simply install the "python3.5" package to get Python on all the Debian images. MozReview-Commit-ID: 9ZmoSxtHWTZ
taskcluster/docker/debian-base/Dockerfile
--- a/taskcluster/docker/debian-base/Dockerfile
+++ b/taskcluster/docker/debian-base/Dockerfile
@@ -49,16 +49,17 @@ COPY cloud-mirror-workaround.sh /usr/loc
 RUN /usr/local/sbin/setup_packages.sh $DOCKER_IMAGE_PACKAGES && \
     echo 'dir::bin::methods::https "/usr/local/sbin/cloud-mirror-workaround.sh";' > /etc/apt/apt.conf.d/99cloud-mirror-workaround && \
     apt-get update && \
     apt-get install \
       git \
       make \
       mercurial \
       python \
+      python3.5 \
       xz-utils
 
 # %include testing/mozharness/external_tools/robustcheckout.py
 COPY topsrcdir/testing/mozharness/external_tools/robustcheckout.py /usr/local/mercurial/robustcheckout.py
 
 # %include taskcluster/docker/recipes/hgrc
 COPY topsrcdir/taskcluster/docker/recipes/hgrc /etc/mercurial/hgrc.d/mozilla.rc