All of lore.kernel.org
 help / color / mirror / Atom feed
From: Fam Zheng <famz@redhat.com>
To: "Alex Bennée" <alex.bennee@linaro.org>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [PATCH 1/3] tests/docker: add travis dockerfile
Date: Fri, 23 Sep 2016 12:39:02 +0800	[thread overview]
Message-ID: <20160923043902.GD8832@lemon> (raw)
In-Reply-To: <20160922135724.22304-2-alex.bennee@linaro.org>

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 <alex.bennee@linaro.org>
> ---
>  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

  reply	other threads:[~2016-09-23  4:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-22 13:57 [Qemu-devel] [PATCH 0/3] new docker targets Alex Bennée
2016-09-22 13:57 ` [Qemu-devel] [PATCH 1/3] tests/docker: add travis dockerfile Alex Bennée
2016-09-23  4:39   ` Fam Zheng [this message]
2016-09-22 13:57 ` [Qemu-devel] [PATCH 2/3] tests/docker: test-build script Alex Bennée
2016-09-23  4:41   ` Fam Zheng
2016-09-22 13:57 ` [Qemu-devel] [PATCH 3/3] tests/docker/Makefile.include: add a generic docker-run target Alex Bennée
2016-09-23  4:45   ` Fam Zheng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160923043902.GD8832@lemon \
    --to=famz@redhat.com \
    --cc=alex.bennee@linaro.org \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.