tests: Move the list of packages out of Dockerfile.test into a file

This allows other test methods to use the same list of packages without
duplicating it.
This commit is contained in:
Brian C. Lane 2020-01-28 10:26:44 -08:00
parent e31fccc4ae
commit 50d0c6e0c1
2 changed files with 39 additions and 39 deletions

View File

@ -1,43 +1,6 @@
FROM registry.fedoraproject.org/fedora:rawhide
RUN dnf -y install \
anaconda-tui \
git \
libgit2-glib \
libselinux-python3 \
make \
pykickstart \
python3-ansible-runner \
python3-coverage \
python3-coveralls \
python3-flask \
python3-gevent \
python3-magic \
python3-mako \
python3-pocketlint \
python3-pycdlib \
python3-pylint \
python3-pyparted \
python3-pytest \
python3-pytest-cov \
python3-toml \
python3-semantic_version \
python3-sphinx \
python3-sphinx-argparse \
python3-sphinx_rtd_theme \
python3-rpmfluff \
python3-librepo \
python3-pyvmomi \
beakerlib \
sudo \
rsync \
e2fsprogs \
xz-lzma-compat \
pbzip2 \
squashfs-tools \
qemu-img \
yamllint \
which && \
touch /.in-container
COPY test-packages .
RUN dnf -y install $(cat test-packages) && touch /.in-container
RUN useradd weldr
VOLUME /lorax-ro
VOLUME /test-results

37
test-packages Normal file
View File

@ -0,0 +1,37 @@
anaconda-tui
beakerlib
e2fsprogs
git
libgit2-glib
libselinux-python3
make
pbzip2
pykickstart
python3-ansible-runner
python3-coverage
python3-coveralls
python3-flask
python3-gevent
python3-librepo
python3-magic
python3-mako
python3-pocketlint
python3-pycdlib
python3-pylint
python3-pyparted
python3-pytest
python3-pytest-cov
python3-pyvmomi
python3-rpmfluff
python3-semantic_version
python3-sphinx
python3-sphinx-argparse
python3-sphinx_rtd_theme
python3-toml
qemu-img
rsync
squashfs-tools
sudo
which
xz-lzma-compat
yamllint