Bug 1423663 - Release Dockerfiles from Ubuntu:vivid not working after EOL. r=Callek a=releasebustage CLOSED TREE
MozReview-Commit-ID: 6mW7BnQxQnp
--- a/taskcluster/docker/beet-mover/Dockerfile
+++ b/taskcluster/docker/beet-mover/Dockerfile
@@ -1,10 +1,12 @@
FROM ubuntu:vivid
+# Ubuntu Vivid has been moved to the old-releases repo
+RUN sed -i -e 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
RUN apt-get -q update \
&& apt-get install --yes -q \
mercurial \
python-dev \
python-pip \
python-virtualenv \
libffi-dev \
liblzma-dev \
--- a/taskcluster/docker/funsize-balrog-submitter/Dockerfile
+++ b/taskcluster/docker/funsize-balrog-submitter/Dockerfile
@@ -1,13 +1,15 @@
FROM ubuntu:vivid
MAINTAINER Rail Aliiev <rail@mozilla.com>
# Required software
ENV DEBIAN_FRONTEND noninteractive
+# Ubuntu Vivid has been moved to the old-releases repo
+RUN sed -i -e 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
# Chain apt-get commands with apt-get clean in a single docker RUN
# to make sure that files are removed within a single docker layer
RUN apt-get update -q && \
apt-get install -yyq --no-install-recommends \
python mercurial curl python-boto python-setuptools python-cryptography \
python-dev gcc liblzma-dev && \
apt-get clean
--- a/taskcluster/docker/funsize-update-generator/Dockerfile
+++ b/taskcluster/docker/funsize-update-generator/Dockerfile
@@ -1,13 +1,15 @@
FROM ubuntu:vivid
MAINTAINER Rail Aliiev <rail@mozilla.com>
# Required software
ENV DEBIAN_FRONTEND noninteractive
+# Ubuntu Vivid has been moved to the old-releases repo
+RUN sed -i -e 's/archive.ubuntu.com/old-releases.ubuntu.com/g' /etc/apt/sources.list
# Chain apt-get commands with apt-get clean in a single docker RUN
# to make sure that files are removed within a single docker layer
RUN apt-get update -q && \
apt-get install -yyq --no-install-recommends \
python python-setuptools python-cryptography libgetopt-simple-perl \
bzip2 clamav clamav-freshclam python-requests python-sh curl \
python-dev gcc liblzma-dev xz-utils && \
apt-get clean