lorax/Dockerfile.test
Brian C. Lane 31c1899a02 Add a test for repo metadata expiration
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
DNFLock.lock_check immediately picks up a new package.

This depends on rpmfluff which is available from Fedora or EPEL repos.

Related: rhbz#1631561
2018-10-01 14:47:49 -07:00

15 lines
424 B
Docker

FROM fedora:28
RUN dnf -y install make libgit2-glib tito python3-pylint \
python3-nose python3-mako python3-flask \
python3-coverage libselinux-python3 sudo \
pykickstart python3-pytoml python3-sphinx \
python3-semantic_version python3-rpmfluff \
anaconda-tui
RUN mkdir /lorax
COPY . /lorax
WORKDIR /lorax
RUN make test