gecko/testing/docker/base-build/Dockerfile
Dustin J. Mitchell 36134991fe Bug 1122598: Refactor testing/docker to support Android; r=wcosta
* split much of base-build that's not useful for Android into b2g-build
 * always run docker with --no-cache, so we get the latest packages
 * improve README

--HG--
extra : rebase_source : 9446b68ae0ffd7cbdd2da831e208019a6974a636
extra : source : 91164440e535825949a2e7dda8909da2f6085dff
extra : histedit_source : 5b9e14c8714f1cbb1853e1ecdc3e3e9918830ce2
2015-01-21 10:45:34 -05:00

21 lines
677 B
Docker

FROM centos:centos6
MAINTAINER Jonas Finnemann Jensen <jopsen@gmail.com>
# Run system setup script; this ensures taht the whole process
# boils down to a single docker layer
ADD system-setup.sh /tmp/system-setup.sh
RUN ["/tmp/system-setup.sh"]
# Set variable normally configured at login, by the shells parent process, these
# are taken from GNU su manual
ENV HOME /home/worker
ENV SHELL /bin/bash
ENV USER worker
ENV LOGNAME worker
# Declare default working folder
WORKDIR /home/worker
# Set a default command useful for debugging
CMD ["/bin/bash", "--login"]