Bug 1532878 - Ensure the base Debian docker image is up-to-date wrt the snapshot used. r=dustin
authorMike Hommey <mh+mozilla@glandium.org>
Thu, 07 Mar 2019 07:26:25 +0000
changeset 520922 88e8b3f52329797ddcf50b305e07bad10f5ee02e
parent 520921 b1e1e1bba9001521867385da88bbbc49cfd875b1
child 520923 ed46ddfa23b76001614c4bd45c27ed113786b93b
push id10862
push userffxbld-merge
push dateMon, 11 Mar 2019 13:01:11 +0000
treeherdermozilla-beta@a2e7f5c935da [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdustin
bugs1532878
milestone67.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1532878 - Ensure the base Debian docker image is up-to-date wrt the snapshot used. r=dustin When the apt snapshot is more recent than the docker image on the docker hub, some packages may not be up-to-date. Depends on D22455 Differential Revision: https://phabricator.services.mozilla.com/D22263
taskcluster/docker/debian-raw/Dockerfile
--- a/taskcluster/docker/debian-raw/Dockerfile
+++ b/taskcluster/docker/debian-raw/Dockerfile
@@ -20,11 +20,12 @@ RUN for s in debian_$DIST debian_$DIST-u
       echo 'APT::Get::Assume-Yes "true";'; \
       echo 'APT::Install-Recommends "false";'; \
       echo 'Acquire::Check-Valid-Until "false";'; \
       echo 'Acquire::Retries "5";'; \
       echo 'dir::bin::methods::https "/usr/local/sbin/cloud-mirror-workaround.sh";'; \
     ) > /etc/apt/apt.conf.d/99taskcluster
 
 RUN apt-get update && \
+    apt-get dist-upgrade && \
     apt-get install \
       apt-transport-https \
       ca-certificates