2014-03-12 20:02:17 +00:00
|
|
|
# https://index.docker.io/_/centos/
|
2014-05-09 08:35:07 +01:00
|
|
|
FROM centos:6.4
|
2014-03-12 20:02:17 +00:00
|
|
|
|
|
|
|
# http://jumanjiman.github.io/
|
|
|
|
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
|
|
|
|
|
|
|
# Install dependencies.
|
|
|
|
RUN yum -y install git rpm-build python-devel python-nose \
|
|
|
|
libxslt asciidoc python-setuptools tar createrepo which
|
|
|
|
RUN rpm -Uvh http://ftp.linux.ncsu.edu/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm
|
2014-06-23 09:45:41 -03:00
|
|
|
RUN yum -y install python-pep8 git-annex python-mock python-bugzilla
|
2014-03-12 20:02:17 +00:00
|
|
|
|
|
|
|
# Remove yum metadata.
|
|
|
|
RUN yum clean all
|
|
|
|
|
|
|
|
RUN useradd sandbox
|
|
|
|
RUN git config --global user.email "sandbox@example.com"
|
|
|
|
RUN git config --global user.name "sandbox"
|
|
|
|
|
|
|
|
USER sandbox
|
|
|
|
VOLUME ["/home/sandbox"]
|
|
|
|
WORKDIR /home/sandbox
|
|
|
|
|
|
|
|
ENV LANG C
|
|
|
|
CMD ["/bin/bash"]
|