testing/docker/desktop-build/Dockerfile
author Carsten "Tomcat" Book <cbook@mozilla.com>
Tue, 05 Apr 2016 09:48:49 +0200
changeset 315348 3930bfe289c83593b4781f4a631444a5f1ca4afe
parent 315303 3d245551d3fb7bce7540e9cdd78514962b1f9b31
child 315410 dc76178b7202c86424274a391f9d3fad745fcf53
permissions -rw-r--r--
Backed out changeset 3d245551d3fb (bug 1260505) for suspicion of causing taskcluster-images opt Docker Artifact Image Builder failures

FROM          taskcluster/centos6-build-upd:0.1.5.20160323120600
MAINTAINER    Dustin J. Mitchell <dustin@mozilla.com>

# Add build scripts; these are the entry points from the taskcluster worker, and
# operate on environment variables
ADD             bin /home/worker/bin
RUN             chmod +x /home/worker/bin/*

# Generate machine uuid file
RUN dbus-uuidgen --ensure=/var/lib/dbus/machine-id

# Stubbed out credentials; mozharness looks for this file an issues a WARNING
# if it's not found, which causes the build to fail.  Note that this needs to
# be in the parent of the workspace directory and in the directory where
# mozharness is run (not its --work-dir).  See Bug 1169652.
ADD           oauth.txt /home/worker/

# stubbed out buildprops, which keeps mozharness from choking
# Note that this needs to be in the parent of the workspace directory and in
# the directory where mozharness is run (not its --work-dir)
ADD           buildprops.json /home/worker/

# install tooltool directly from github where tooltool_wrapper.sh et al. expect
# to find it
RUN wget -O /builds/tooltool.py https://raw.githubusercontent.com/mozilla/build-tooltool/master/tooltool.py
RUN chmod +x /builds/tooltool.py

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