[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 1/3] tests/docker: add travis dockerfile
From: |
Fam Zheng |
Subject: |
Re: [Qemu-devel] [PATCH 1/3] tests/docker: add travis dockerfile |
Date: |
Fri, 23 Sep 2016 12:39:02 +0800 |
User-agent: |
Mutt/1.7.0 (2016-08-17) |
On Thu, 09/22 14:57, Alex Bennée wrote:
> This target grabs the latest Travis containers from their repository at
> quay.io and then installs QEMU's build dependencies. With this it is
> possible to run on broadly the same setup as they have on travis-ci.org.
This is nice, Thanks!
>
> Signed-off-by: Alex Bennée <address@hidden>
> ---
> tests/docker/dockerfiles/travis.docker | 6 ++++++
> 1 file changed, 6 insertions(+)
> create mode 100644 tests/docker/dockerfiles/travis.docker
>
> diff --git a/tests/docker/dockerfiles/travis.docker
> b/tests/docker/dockerfiles/travis.docker
> new file mode 100644
> index 0000000..e4983ae
> --- /dev/null
> +++ b/tests/docker/dockerfiles/travis.docker
> @@ -0,0 +1,6 @@
> +FROM quay.io/travisci/travis-ruby
> +RUN apt-get update
> +RUN apt-get -y build-dep qemu
> +RUN apt-get -y build-dep device-tree-compiler
> +RUN apt-get -y install python2.7 dh-autoreconf
> +ENV FEATURES pyyaml
Other images now have a /packages.txt listing installed packages,
that can be dumped with SHOW_ENV=1:
https://lists.gnu.org/archive/html/qemu-devel/2016-09/msg04925.html
In this image the list is not explicit. While the file is not mandatory, is it
worth to do something like
RUN apt-rdepends --build-depends qemu > /packges.txt
?
Fam