testing/docker/tester/Dockerfile
author jlal@mozilla.com
Thu, 26 Mar 2015 11:08:01 -0700
changeset 264689 8169d9fae061e02d2d2eaa32962fecc2eb86892b
parent 263365 693b27b94d2a16f7309aec2c7d314a05023650e4
child 264758 2f37a253a534c60c820aed589a58f715ea4abd1d
permissions -rw-r--r--
Bug 1140587 - Reduce pip warnings a=config-only r=me

FROM          quay.io/mozilla/base-test:0.0.5
MAINTAINER    Jonas Finnemann Jensen <jopsen@gmail.com>

# Add utilities and configuration
COPY           b2g-desktop-config.py         /home/worker/b2g-desktop-config.py
COPY           dot-config                    /home/worker/.config
COPY           dot-pulse                     /home/worker/.pulse
COPY           bin                           /home/worker/bin
COPY           mozharness_configs            /home/worker/mozharness_configs
COPY           buildprops.json               /home/worker/buildprops.json
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


# 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 chown -R worker:worker /home/worker/* /home/worker/.*
RUN npm install -g taskcluster-vcs@2.3.4
RUN rm -Rf .cache && mkdir -p .cache
ENV PATH $PATH:/home/worker/bin

# TODO Re-enable worker when bug 1093833 lands
#USER          worker

# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]