mirror of
https://github.com/rpm-software-management/tito.git
synced 2025-02-23 12:12:47 +00:00
Add F21 docker testing.
This commit is contained in:
parent
901bdf1d22
commit
8f9f6ae3fd
3 changed files with 39 additions and 1 deletions
|
@ -63,13 +63,15 @@
|
|||
#titotest-centos-5.9
|
||||
|
||||
distros='
|
||||
titotest-fedora-20
|
||||
titotest-centos-6
|
||||
titotest-fedora-20
|
||||
titotest-fedora-21
|
||||
titotest-fedora-rawhide
|
||||
'
|
||||
|
||||
python3_distros='
|
||||
titotest-fedora-20
|
||||
titotest-fedora-21
|
||||
titotest-fedora-rawhide
|
||||
'
|
||||
|
||||
|
|
35
hacking/titotest-fedora-21/Dockerfile
Normal file
35
hacking/titotest-fedora-21/Dockerfile
Normal file
|
@ -0,0 +1,35 @@
|
|||
# https://index.docker.io/_/fedora/
|
||||
FROM fedora:21
|
||||
|
||||
# http://jumanjiman.github.io/
|
||||
MAINTAINER Paul Morgan <jumanjiman@gmail.com>
|
||||
|
||||
# NOTE: runtests.sh hard-links tito.spec into this directory on-the-fly
|
||||
# to work around https://github.com/dotcloud/docker/issues/1676
|
||||
ADD tito.spec /tmp/tito.spec
|
||||
|
||||
# Install build dependencies.
|
||||
RUN yum -y install \
|
||||
yum-utils \
|
||||
git-annex \
|
||||
python-devel \
|
||||
python-mock \
|
||||
python-nose \
|
||||
python-pep8 \
|
||||
python3-mock \
|
||||
python3-nose \
|
||||
python3-pep8
|
||||
|
||||
RUN yum-builddep -y /tmp/tito.spec
|
||||
RUN yum clean all
|
||||
|
||||
RUN useradd sandbox
|
||||
RUN git config --system user.email "sandbox@example.com"
|
||||
RUN git config --system user.name "sandbox"
|
||||
|
||||
USER sandbox
|
||||
VOLUME ["/home/sandbox"]
|
||||
WORKDIR /home/sandbox
|
||||
|
||||
ENV LANG C
|
||||
CMD ["/bin/bash"]
|
1
hacking/titotest-fedora-21/README.md
Symbolic link
1
hacking/titotest-fedora-21/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../../HACKING
|
Loading…
Add table
Reference in a new issue