0f130dd91c
This tests to make sure that the metadata timer is working (by setting it to 10s and adding a new package to the repo), and that YumLock.lock_check immediately picks up a new package. This depends on rpmfluff which is available from Fedora or EPEL repos. Related: rhbz#1632962
20 lines
617 B
Docker
20 lines
617 B
Docker
FROM centos:7
|
|
|
|
COPY epel.repo /etc/yum.repos.d/
|
|
RUN yum -y install --nogpgcheck epel-release && \
|
|
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-* && \
|
|
yum -y install make libgit2-glib tito python-pylint \
|
|
python-nose python-mako python-flask \
|
|
python-coverage libselinux-python sudo \
|
|
pykickstart python2-pytoml python-sphinx \
|
|
python2-mock python-semantic_version \
|
|
anaconda-tui python-rpmfluff && \
|
|
yum clean all && \
|
|
rm -rf /var/cache/yum
|
|
|
|
RUN mkdir /lorax
|
|
COPY . /lorax
|
|
|
|
WORKDIR /lorax
|
|
RUN make test
|