Re: Using docker for Debian packaging work ?
Hi guys,
I am wondering if anyone poked more on using docker with
*-buildpackage flavors?
in my case I would not be as much interested in the efficient layering
of the pre-deployed build images rather a straightforward use of
base system docker images similarly to how pbuilder
(tarballs)/cowbuilder (cow chroots) do, just also with efficient
apt-caching (builtin or via e.g. approx) + monitoring setup of the
firewall which would log/alarm me if package attempts to get any
connection outside of allowed hosts (APT servers) and monitoring of file
system changes outside of the /tmp (after all build-depends got
installed).
Would be thankful to hear any ideas/pointers to existing setups.
Cheers!
On Thu, 06 Mar 2014, Paul Tagliamonte wrote:
> I'd be interested in a few things - a Debian index which I can trust
> (images) - I'm keen
> to help add OpenPGP to Docker upstream. I'd also love it if dbuilder (or
> whatever)
> could tag layers with build-deps installed (tagging something like
> foobar:1.2.3-1),
> so that building the package wouldn't have to install the b-d's each time
> - and since
> they're defined in terms of the Debian layer in the Dockerfile, we can
> keep each
> image super small.
> On Thu, Mar 6, 2014 at 12:32 PM, Olivier Berger
> <[1]olivier.berger@telecom-sudparis.eu> wrote:
> Hi.
> I've been investigating the use of Docker containers on Debian
> (resulting in the creation of a few wiki pages [0]), and intend to use
> them more for Debian related tasks. Btw, thanks a lot for the packaging
> of docker and other guides already available around (I tried to collect
> what I spotted in the Wiki).
> I'm wondering if there are some bits of docs you would like to share if
> you're using docker regularly for Debian maintenance.
> I'm curious if anyone investigated the use of docker for git-pbuilder,
> fonr instance. Not that I'm sure there would be benefits compared to
> other current backends of git-pbuilder. I'm pretty sure that some may
> find a limitation in that Docker only supports building for amd64 over
> an amd64 system, currently.
> May I suggest to add more links / pages, starting from
> [2]https://wiki.debian.org/PackagingWithDocker ?
> Thanks in advance.
> Best regards,
> [0] see [3]https://wiki.debian.org/Docker for an index
--
Yaroslav O. Halchenko, Ph.D.
http://neuro.debian.net http://www.pymvpa.org http://www.fail2ban.org
Research Scientist, Psychological and Brain Sciences Dept.
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
Reply to: