aboutsummaryrefslogtreecommitdiffstats
path: root/etc/taskcluster/docker/base.dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'etc/taskcluster/docker/base.dockerfile')
-rw-r--r--etc/taskcluster/docker/base.dockerfile23
1 files changed, 23 insertions, 0 deletions
diff --git a/etc/taskcluster/docker/base.dockerfile b/etc/taskcluster/docker/base.dockerfile
new file mode 100644
index 00000000000..891469e8df4
--- /dev/null
+++ b/etc/taskcluster/docker/base.dockerfile
@@ -0,0 +1,23 @@
+FROM ubuntu:bionic-20180821
+
+ENV \
+ #
+ # Some APT packages like 'tzdata' wait for user input on install by default.
+ # https://stackoverflow.com/questions/44331836/apt-get-install-tzdata-noninteractive
+ DEBIAN_FRONTEND=noninteractive
+
+RUN \
+ apt-get update -q && \
+ apt-get install -qy --no-install-recommends \
+ #
+ # Cloning the repository
+ git \
+ ca-certificates \
+ #
+ # Running mach
+ python2.7 \
+ virtualenv \
+ #
+ # Installing rustup and sccache (build dockerfile) or fetching build artifacts (run tasks)
+ curl
+