summaryrefslogtreecommitdiffstats
path: root/testing/docker/upload-symbols/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'testing/docker/upload-symbols/Dockerfile')
-rw-r--r--testing/docker/upload-symbols/Dockerfile21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/docker/upload-symbols/Dockerfile b/testing/docker/upload-symbols/Dockerfile
new file mode 100644
index 000000000..281995271
--- /dev/null
+++ b/testing/docker/upload-symbols/Dockerfile
@@ -0,0 +1,21 @@
+FROM ubuntu:14.04
+MAINTAINER Anthony Miyaguchi <amiyaguchi@mozilla.com>
+
+WORKDIR /tmp
+
+# Add the upload script
+ADD bin /tmp/bin
+RUN chmod +x /tmp/bin/*
+
+# Define the environmental variables for the scripts
+COPY socorro_token /tmp/
+ENV SOCORRO_SYMBOL_UPLOAD_TOKEN_FILE /tmp/socorro_token
+ENV SCRIPT_PATH toolkit/crashreporter/tools/upload_symbols.py
+
+# Install dependencies for the script
+RUN apt-get update
+RUN apt-get install -y python python-pip wget
+RUN pip install redo requests
+
+# Default command
+CMD ["/bin/bash", "--login"]