testing/docker/upload-symbols/Dockerfile
author Wes Kocher <wkocher@mozilla.com>
Tue, 20 Dec 2016 11:35:04 -0800
changeset 326508 0f3603e365f029bc9ea5f926d32f6f0f8aa4d998
parent 321048 18a98f6dabd9ad4da13db190b642bfead57e130f
parent 326444 9d0c5328c89782f32bb458487278944bf219a417
permissions -rw-r--r--
Merge autoland to central, a=merge MozReview-Commit-ID: VF8ZpI3ORK

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