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

Re: debdocker - A Debian docker-based personal builder

Hi Samo,

I'm insterested in its differences compared to the following existing
docker-based builders:

1. debocker https://people.debian.org/~tomasz/debocker.html
2. whalebuilder https://www.uhoreg.ca/programming/debian/whalebuilder

And there is a systemd-nspawn-based builder too:
3. debspawn https://github.com/lkorigin/debspawn

All the three builders are avaialable in debian sid.

On Sat, Jun 27, 2020 at 12:08:30PM +0200, Samo Pogačnik wrote:
> Hi,
> I am preparing a packaging support tool similar to pbuilder, except that it uses
> docker containers instead of chroot environments. The project is available here:
> https://salsa.debian.org/spog/debdocker
> The tool is very immature, but already useful to me. I would like to hear any
> thoughts and comments regarding the tool in general and regarding its user
> experience.
> Quick reference (running out of cloned project - no warranties!):
> 1. Help:
> $ ./debdocker --help [command]
> $ man ./share/man/man8/debdocker.8
> 2. Create initial base and devel docker images for i.e. debian:sid, which uses
> 'debootstrap' for base image like in 'pbuilder'. It creates base directory and
> archive in the supplied path (i.e. ../ in the example):
> $ sudo ./debdocker create debian:sid all ../ http://deb.debian.org/debian
> 3. Get a source package (i.e. in ../ use 'dget -d...).
> 4. Build a package, which creates additional (i.e. debian:sid-package_devel)
> docker image with installed package's build deps (it is reused while working on
> the same package):
> $ ./debdocker build debian:sid ../package_*.dsc
> 5. You can also build extracted (or cloned) sources providing their path instead
> of the 'dsc_file'. There is also a possibility to enter containers (see the
> 'enter' command)...
> 6. Building an initial 'debdocker' debian package is supported in the project.
> thanks, Samo

Reply to: