summaryrefslogtreecommitdiffstats
path: root/testing/docker/tester/Dockerfile
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /testing/docker/tester/Dockerfile
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'testing/docker/tester/Dockerfile')
-rw-r--r--testing/docker/tester/Dockerfile33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/docker/tester/Dockerfile b/testing/docker/tester/Dockerfile
new file mode 100644
index 000000000..547417ffa
--- /dev/null
+++ b/testing/docker/tester/Dockerfile
@@ -0,0 +1,33 @@
+FROM taskcluster/base-test:0.1.3
+MAINTAINER Jonas Finnemann Jensen <jopsen@gmail.com>
+
+# Add utilities and configuration
+COPY dot-config /home/worker/.config
+COPY dot-pulse /home/worker/.pulse
+COPY bin /home/worker/bin
+ADD https://s3-us-west-2.amazonaws.com/test-caching/packages/linux64-stackwalk /usr/local/bin/linux64-minidump_stackwalk
+ADD https://raw.githubusercontent.com/taskcluster/buildbot-step/master/buildbot_step /home/worker/bin/buildbot_step
+COPY tc-vcs-config.yml /etc/taskcluster-vcs.yml
+
+# Run test setup script
+RUN chmod u+x /home/worker/bin/buildbot_step
+RUN chmod u+x /usr/local/bin/linux64-minidump_stackwalk
+RUN apt-get install -y python-pip && pip install virtualenv;
+RUN mkdir Documents; mkdir Pictures; mkdir Music; mkdir Videos; mkdir artifacts
+RUN npm install -g taskcluster-vcs@2.3.12
+RUN npm install -g taskcluster-npm-cache@1.3.3
+RUN npm install -g node-gyp
+RUN rm -Rf .cache && mkdir -p .cache
+ENV PATH $PATH:/home/worker/bin
+ENV MINIDUMP_STACKWALK /usr/local/bin/linux64-minidump_stackwalk
+
+# Remove once running under 'worker' user. This is necessary for pulseaudio to start
+# XXX: change this back to worker:worker once permissions issues are resolved
+RUN chown -R root:root /home/worker
+
+
+# TODO Re-enable worker when bug 1093833 lands
+#USER worker
+
+# Set a default command useful for debugging
+CMD ["/bin/bash", "--login"]