On 25.06.24 15:02, Simon McVittie wrote:
I have to ask:

Could we use a container framework that is also used outside the Debian
bubble, rather than writing our own from first principles every time, and
ending up with a single-maintainer project being load-bearing for Debian
*again*? I had hoped that after sbuild's history with schroot becoming
unmaintained, and then being revived by a maintainer-of-last-resort who
is one of the same few people who are critical-path for various other
important things, we would recognise that as an anti-pattern that we
should avoid if we can.

Great proposal!

Here's the Dockerfile/Containerfile to turn a sysroot tarball into an
OCI image (obviously it can be extended with LABELs and other
customizations, but this is fairly close to minimal):

     FROM scratch
     ADD sysroot.tar.gz /
     CMD ["/bin/bash"]

I had the idea to build my Debian packages in a clean docker container instead of using cowbuilder etc for some time now. But due to lack of time and complexity of available solutions never got really far. Do you happen to have a minimal example that would work for most projects and does not depend too much on opinionated Debian specific tooling?


Cheers!

Bastian

--
Dr. Bastian Venthur                                 https://venthur.de
Debian Developer                                 venthur at debian org


Reply via email to