qemu/tests/docker/dockerfiles/centos8.docker
Daniel P. Berrangé 1ae2786c7c tests/docker: use explicit docker.io registry
It is good practice to use an explicit registry for referencing the base
image. This is because some distros will inject their own registries
into the search path. For example registry.fedoraproject.org comes ahead
of docker.io. Using an explicit registry avoids wasting time querying
multiple registries for images that they won't have.

Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Wainer dos Santos Moschetta <wainersm@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20210623142245.307776-5-berrange@redhat.com>
Message-Id: <20210709143005.1554-13-alex.bennee@linaro.org>
2021-07-14 14:33:53 +01:00

42 lines
783 B
Docker

FROM docker.io/centos:8
RUN dnf -y update
ENV PACKAGES \
SDL2-devel \
bzip2 \
bzip2-devel \
dbus-daemon \
diffutils \
gcc \
gcc-c++ \
genisoimage \
gettext \
git \
glib2-devel \
libaio-devel \
libbpf-devel \
libepoxy-devel \
libfdt-devel \
libffi-devel \
libgcrypt-devel \
lzo-devel \
make \
mesa-libEGL-devel \
nmap-ncat \
nettle-devel \
ninja-build \
perl-Test-Harness \
pixman-devel \
python36 \
rdma-core-devel \
spice-glib-devel \
spice-server \
systemtap-sdt-devel \
tar \
zlib-devel
RUN dnf install -y dnf-plugins-core && \
dnf config-manager --set-enabled powertools && \
dnf install -y $PACKAGES
RUN rpm -q $PACKAGES | sort > /packages.txt