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 776406 c0969fb4faa7b79c0a8d2d2b527ef7dfa9bcd6b6
parent 776405 99289a346ee9d51a6749028c4759a8c43d36ddc4
push id104870
push userbmo:gps@mozilla.com
push dateTue, 03 Apr 2018 01:07:49 +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