summaryrefslogtreecommitdiffstats
path: root/taskcluster/docker/system-symbols-win-gfx/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/docker/system-symbols-win-gfx/Dockerfile')
-rw-r--r--taskcluster/docker/system-symbols-win-gfx/Dockerfile25
1 files changed, 25 insertions, 0 deletions
diff --git a/taskcluster/docker/system-symbols-win-gfx/Dockerfile b/taskcluster/docker/system-symbols-win-gfx/Dockerfile
new file mode 100644
index 0000000000..babd658023
--- /dev/null
+++ b/taskcluster/docker/system-symbols-win-gfx/Dockerfile
@@ -0,0 +1,25 @@
+FROM $DOCKER_IMAGE_PARENT
+MAINTAINER Gabriele Svelto <gsvelto@mozilla.com>
+
+RUN mkdir -p /builds
+RUN id worker || useradd -d /builds/worker -s /bin/bash -m worker
+WORKDIR /builds/worker
+
+# 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/checkouts
+
+RUN apt-get update && \
+ apt-get install --no-install-recommends -y \
+ 7zip build-essential curl jq python3-pip unzip wget zip && \
+ apt-get autoremove -y && rm -rf /var/lib/apt/lists/*
+
+COPY run.sh /builds/worker/run.sh
+
+RUN chown -R worker:worker /builds/worker
+
+RUN pip3 install --break-system-packages crashstats-tools==1.4.0
+
+# Set a default command useful for debugging
+CMD ["/bin/bash", "--login"]