aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorSimon Sapin <simon.sapin@exyr.org>2020-11-14 10:15:02 +0100
committerSimon Sapin <simon.sapin@exyr.org>2020-11-14 12:11:48 +0100
commit07fff6c7c7cd81eed617519f524e8bb590df4668 (patch)
treea4af39b571fa6b1d3308ca25aa9c22880654aeda /etc
parent2db7abad2b220ad8c819fc7e372edccecf8c1b2c (diff)
downloadservo-07fff6c7c7cd81eed617519f524e8bb590df4668.tar.gz
servo-07fff6c7c7cd81eed617519f524e8bb590df4668.zip
Upgrade CI to Ubuntu 20.04 LTS
19.10 has been at end-of-life since July. Also switch to an un-dated Docker Hub tag. Built docker images expire after a month, and when rebuilding we install the latest versions of additional packages. We might has well pick up-to-date versions of the base system as well. We do stay within one Ubuntu release, though.
Diffstat (limited to 'etc')
-rw-r--r--etc/taskcluster/docker/base.dockerfile20
1 files changed, 11 insertions, 9 deletions
diff --git a/etc/taskcluster/docker/base.dockerfile b/etc/taskcluster/docker/base.dockerfile
index 65e8b074c71..50d3f0bb13e 100644
--- a/etc/taskcluster/docker/base.dockerfile
+++ b/etc/taskcluster/docker/base.dockerfile
@@ -1,6 +1,4 @@
-# Dummy comment to force an image rebuild for https://github.com/servo/servo/issues/27758
-
-FROM ubuntu:eoan-20200608
+FROM ubuntu:20.04
ENV \
#
@@ -20,10 +18,9 @@ RUN \
ca-certificates \
#
# Running mach with Python 2
- python \
- python-pip \
- python-dev \
- python-virtualenv \
+ python2 \
+ python2-dev \
+ python-is-python2 \
#
# Running mach with Python 3
python3 \
@@ -38,5 +35,10 @@ RUN \
curl \
# Setting the default locale
locales \
- locales-all
-
+ locales-all \
+ && \
+ #
+ # Python 2 bits that have been removed from Ubuntu packages
+ curl https://bootstrap.pypa.io/get-pip.py -sSf -o get-pip.py && \
+ python2 get-pip.py && \
+ python2 -m pip install virtualenv