lorax/Dockerfile.test
Brian C. Lane bab4b20d0d Add tests to test_creator.py
Add a /.in-container file to the container root so that tests requiring root
and loop device support will be skipped when running in a container.
2018-11-12 11:13:37 -08:00

35 lines
621 B
Docker

FROM registry.fedoraproject.org/fedora:rawhide
RUN dnf -y install \
anaconda-tui \
libgit2-glib \
libselinux-python3 \
make \
pykickstart \
python3-coverage \
python3-coveralls \
python3-flask \
python3-gevent \
python3-magic \
python3-mako \
python3-nose \
python3-pocketlint \
python3-pylint \
python3-pytoml \
python3-semantic_version \
python3-sphinx \
python3-rpmfluff \
python3-librepo \
beakerlib \
sudo \
tito \
rsync \
e2fsprogs \
xz-lzma-compat \
pbzip2 \
squashfs-tools \
which && \
touch /.in-container
RUN useradd weldr
VOLUME /lorax
WORKDIR /lorax