[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 5/7] dockerfiles: enable Centos 8 PowerTools
From: |
Daniel P . Berrangé |
Subject: |
Re: [PATCH 5/7] dockerfiles: enable Centos 8 PowerTools |
Date: |
Wed, 14 Oct 2020 17:33:13 +0100 |
User-agent: |
Mutt/1.14.6 (2020-07-11) |
On Wed, Oct 14, 2020 at 09:54:14AM -0400, Paolo Bonzini wrote:
> ninja is included in the CentOS PowerTools repository.
>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> tests/docker/dockerfiles/centos8.docker | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/tests/docker/dockerfiles/centos8.docker
> b/tests/docker/dockerfiles/centos8.docker
> index 0fc2697491..e31d366fc1 100644
> --- a/tests/docker/dockerfiles/centos8.docker
> +++ b/tests/docker/dockerfiles/centos8.docker
> @@ -1,6 +1,9 @@
> FROM centos:8.1.1911
>
> +RUN dnf -y install dnf-plugins-core
> +RUN dnf config-manager --set-enabled PowerTools
> RUN dnf -y update
This results in multiple image layers which is undesirable. Instead do
RUN dnf -y install dnf-plugins-core && \
dnf config-manager --set-enabled PowerTools && \
dnf -y update
> +
> ENV PACKAGES \
> SDL-devel \
> bzip2 \
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
- [PATCH 0/7] build: replace ninjatool with ninja, Paolo Bonzini, 2020/10/14
- [PATCH 1/7] tests/Makefile.include: unbreak non-tcg builds, Paolo Bonzini, 2020/10/14
- [PATCH 2/7] make: run shell with pipefail, Paolo Bonzini, 2020/10/14
- [PATCH 3/7] tests: add missing generated sources to testqapi, Paolo Bonzini, 2020/10/14
- [PATCH 5/7] dockerfiles: enable Centos 8 PowerTools, Paolo Bonzini, 2020/10/14
- [PATCH 4/7] configure: move QEMU_INCLUDES to meson, Paolo Bonzini, 2020/10/14
- [PATCH 6/7] add ninja to dockerfiles, CI configurations and test VMs, Paolo Bonzini, 2020/10/14
- [PATCH 7/7] build: replace ninjatool with ninja, Paolo Bonzini, 2020/10/14
- Re: [PATCH 0/7] build: replace ninjatool with ninja, Peter Maydell, 2020/10/14