Restore rawhide docker tests.

This commit is contained in:
Devan Goodwin 2015-05-08 15:59:35 -03:00
parent e8e7f63662
commit efee896150
2 changed files with 26 additions and 10 deletions

View file

@ -60,16 +60,16 @@
# docker run --rm -i -t -v $PWD:/home/sandbox titotest-centos-5.9 /bin/bash
#titotest-centos-5.9
#titotest-fedora-rawhide
#titotest-fedora-20
#titotest-centos-6
distros='
titotest-fedora-20
titotest-centos-6
titotest-fedora-rawhide
'
#titotest-fedora-rawhide
#titotest-fedora-20
python3_distros='
titotest-fedora-20
titotest-fedora-rawhide
'
rm -f /tmp/titotest*.out &> /dev/null

View file

@ -9,13 +9,29 @@ MAINTAINER Paul Morgan <jumanjiman@gmail.com>
ADD tito.spec /tmp/tito.spec
# Install build dependencies.
RUN yum -y install yum-utils \
; yum-builddep -y /tmp/tito.spec \
; yum clean all
RUN yum -y install \
yum-utils \
git-annex \
python-mock \
python-nose \
python-pep8
RUN yum -y install \
python3-mock \
python3-nose \
python3-pep8
RUN yum-builddep -y /tmp/tito.spec
RUN yum clean all
#RUN yum -y install yum-utils \
# ; yum-builddep -y /tmp/tito.spec \
# ; yum clean all
RUN yum install -y python-devel
RUN useradd sandbox
RUN git config --global user.email "sandbox@example.com"
RUN git config --global user.name "sandbox"
RUN git config --system user.email "sandbox@example.com"
RUN git config --system user.name "sandbox"
USER sandbox
VOLUME ["/home/sandbox"]