Get the docker test suite up and running again.

This commit is contained in:
Devan Goodwin 2015-05-01 15:37:53 -03:00
parent 4091af9591
commit bf2d285061
5 changed files with 14 additions and 12 deletions

View file

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

View file

@ -1,5 +1,5 @@
# https://index.docker.io/_/centos/
FROM tianon/centos:5.9
FROM centos:5
# http://jumanjiman.github.io/
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
@ -21,8 +21,9 @@ RUN pip-python install mock --upgrade
RUN yum clean all
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"]

View file

@ -1,5 +1,5 @@
# https://index.docker.io/_/centos/
FROM centos:6.4
FROM centos:6
# http://jumanjiman.github.io/
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
@ -25,11 +25,12 @@ RUN yum -y install \
python-mock \
python-nose \
python-pep8 \
tar \
; yum clean all
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"]