tito/hacking/titotest-fedora-20/Dockerfile
Paul Morgan cd0cc194be add build dependency for el5 and new functional tests
* asciidoc indirectly requires docbook-style-xsl on el6 and f20,
  but not on el5. Resolve failure to build tito with tito on el5:
  "I/O error : Attempt to load network entity"

* Resolve "egg missing file" on el5 due to busted symlinks
  from 20c4f1b7c0.

* Add functional test to build tito with itself in order to
  catch problems like the ones above.

Closes https://github.com/dgoodwin/tito/issues/133
2014-05-26 18:37:00 +00:00

30 lines
769 B
Docker

# https://index.docker.io/_/centos/
FROM mattdm/fedora:f20
# http://jumanjiman.github.io/
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
# F20 needs updates to resolve conflict with asciidoc.
RUN yum -y update; yum clean all
# Install dependencies.
RUN yum -y install git rpm-build libxslt tar \
asciidoc \
python-devel python-nose python-setuptools python-pep8 \
python-mock \
python3-devel python3-nose python3-setuptools python3-pep8 rpm-python3 python3-mock \
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"]