taskcluster/docker/upload-symbols/Dockerfile
author CuriousLearner <sanyam.khurana01@gmail.com>
Thu, 20 Oct 2016 18:25:34 +0530
changeset 326973 f374e4333d3a17f72d89063670115d71a9643a5f
parent 326508 testing/docker/upload-symbols/Dockerfile@0f3603e365f029bc9ea5f926d32f6f0f8aa4d998
child 341997 e0c38f8b6ebcc23320ede1928c09eda7526b71da
permissions -rw-r--r--
Bug 1302763 - Move docker images out of testing/docker into taskcluster/docker; r=dustin r=CuriousLearner MozReview-Commit-ID: 7v1uCDB5qoN

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"]