[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [RFC PATCH 2/2] add debian-bootstrap.docker target

From: Fam Zheng
Subject: Re: [Qemu-devel] [RFC PATCH 2/2] add debian-bootstrap.docker target
Date: Fri, 27 May 2016 20:23:39 +0800
User-agent: Mutt/1.6.1 (2016-04-27)

On Thu, 05/26 15:27, Alex Bennée wrote:
> Together with some changes to the docker script you can now build an
> arbitrary architecture of Debian using debootstrap. To achieve this I
> introduce the concept of a HOST_CMD in the docker config file. While
> copying the file into workspace the HOST_CMD is run in the docker build
> context. This allows debootstrap to set up its first stage before the
> container is built.

Could you instead introduce the concept of $IMAGE.pre file (in this case
debian-bootstrap.pre, aside debian-bootstrap.docker), and exec it in
docker.py?  It would be much more flexible, and we we wouldn't need to inject a
custom directive to filter it out.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]