[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/9] docker: Generate /packages.txt in centos6 i
From: |
Daniel P. Berrange |
Subject: |
Re: [Qemu-devel] [PATCH 1/9] docker: Generate /packages.txt in centos6 image |
Date: |
Wed, 21 Sep 2016 09:37:26 +0100 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Wed, Sep 21, 2016 at 11:49:20AM +0800, Fam Zheng wrote:
> Put the list of package names in an environment, and output their
> package names to the target file in the end.
>
> Signed-off-by: Fam Zheng <address@hidden>
> ---
> tests/docker/dockerfiles/centos6.docker | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
>
> diff --git a/tests/docker/dockerfiles/centos6.docker
> b/tests/docker/dockerfiles/centos6.docker
> index 8f4fe46..34e0d3b 100644
> --- a/tests/docker/dockerfiles/centos6.docker
> +++ b/tests/docker/dockerfiles/centos6.docker
> @@ -1,6 +1,8 @@
> FROM centos:6
> -RUN yum install -y \
> +RUN yum install -y epel-release
> +ENV PACKAGES libfdt-devel ccache \
> tar git make gcc g++ \
> zlib-devel glib2-devel SDL-devel pixman-devel \
> epel-release
> -RUN yum install -y libfdt-devel ccache
> +RUN yum install -y $PACKAGES
> +RUN rpm -q $PACKAGES | sort > /packages.txt
Reviewed-by: Daniel P. Berrange <address@hidden>
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
- [Qemu-devel] [PATCH 0/9] docker: SHOW_ENV and terminate improvements, Fam Zheng, 2016/09/20
- [Qemu-devel] [PATCH 1/9] docker: Generate /packages.txt in centos6 image, Fam Zheng, 2016/09/20
- Re: [Qemu-devel] [PATCH 1/9] docker: Generate /packages.txt in centos6 image,
Daniel P. Berrange <=
- [Qemu-devel] [PATCH 2/9] docker: Generate /packages.txt in fedora image, Fam Zheng, 2016/09/20
- [Qemu-devel] [PATCH 3/9] docker: Generate /packages.txt in ubuntu image, Fam Zheng, 2016/09/20
- [Qemu-devel] [PATCH 4/9] docker: Update fedora image to latest, Fam Zheng, 2016/09/20
- [Qemu-devel] [PATCH 5/9] docker: Flatten default target list in test-quick, Fam Zheng, 2016/09/20
- [Qemu-devel] [PATCH 6/9] docker: Print used options before doing configure, Fam Zheng, 2016/09/20