2014-03-12 20:02:17 +00:00
|
|
|
# https://index.docker.io/_/centos/
|
|
|
|
FROM mattdm/fedora:f20
|
|
|
|
|
|
|
|
# http://jumanjiman.github.io/
|
|
|
|
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
|
|
|
|
|
|
|
# Install dependencies.
|
|
|
|
RUN yum -y install git rpm-build libxslt tar \
|
|
|
|
python-devel python-nose python-setuptools python-pep8 \
|
2014-04-09 21:05:21 +02:00
|
|
|
python-mock \
|
|
|
|
python3-devel python3-nose python3-setuptools python3-pep8 rpm-python3 python3-mock \
|
2014-03-12 20:02:17 +00:00
|
|
|
createrepo git-annex which
|
|
|
|
|
|
|
|
# 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"]
|