summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/ubuntu1804-build-python
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/docker/ubuntu1804-build-python')
-rw-r--r--taskcluster/docker/ubuntu1804-build-python/Dockerfile22
1 files changed, 22 insertions, 0 deletions
diff --git a/taskcluster/docker/ubuntu1804-build-python/Dockerfile b/taskcluster/docker/ubuntu1804-build-python/Dockerfile
new file mode 100644
index 0000000000..1613b9d828
--- /dev/null
+++ b/taskcluster/docker/ubuntu1804-build-python/Dockerfile
@@ -0,0 +1,22 @@
+# This docker image is used to build the Python interpreter. It requires an old
+# glibc to be compatible with all the other images with ship.
+FROM $DOCKER_IMAGE_PARENT
+MAINTAINER Serge Guelton <sguelton@mozilla.com>
+
+# We need to declare all potentially cache volumes as caches. Also,
+# making high I/O paths volumes increase I/O throughput because of
+# AUFS slowness.
+VOLUME /builds/worker/.cache
+VOLUME /builds/worker/checkouts
+VOLUME /builds/worker/workspace
+
+RUN apt-get install build-essential \
+ libexpat1-dev \
+ libffi-dev \
+ liblzma-dev \
+ libncursesw5-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ libbz2-dev
+
+CMD ["/bin/bash", "--login"]