summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/wgpu
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/docker/wgpu')
-rw-r--r--taskcluster/docker/wgpu/Dockerfile15
-rw-r--r--taskcluster/docker/wgpu/system-setup.sh11
2 files changed, 26 insertions, 0 deletions
diff --git a/taskcluster/docker/wgpu/Dockerfile b/taskcluster/docker/wgpu/Dockerfile
new file mode 100644
index 0000000000..d5b72eafb7
--- /dev/null
+++ b/taskcluster/docker/wgpu/Dockerfile
@@ -0,0 +1,15 @@
+FROM $DOCKER_IMAGE_PARENT
+MAINTAINER Dzmitry Malyshau <dmalyshau@mozilla.com>
+
+VOLUME /builds/worker/checkouts
+VOLUME /builds/worker/workspace
+VOLUME /builds/worker/tooltool-cache
+
+ADD system-setup.sh /setup/system-setup.sh
+RUN bash /setup/system-setup.sh
+
+# We need this to install cargo-vendor as part of the wgpu-deps task
+RUN apt-get install libssl-dev
+
+# Set a default command useful for debugging
+CMD ["/bin/bash", "--login"]
diff --git a/taskcluster/docker/wgpu/system-setup.sh b/taskcluster/docker/wgpu/system-setup.sh
new file mode 100644
index 0000000000..ca7ae0c3c6
--- /dev/null
+++ b/taskcluster/docker/wgpu/system-setup.sh
@@ -0,0 +1,11 @@
+apt-get -y update
+apt-get install -y \
+ bzip2 \
+ cmake \
+ curl \
+ gcc \
+ git \
+ g++ \
+ libx11-dev \
+ pkg-config \
+ software-properties-common