I want to leverage our cluster to automate as much of the rebuilds as I
can, but could not find the right tool. I tried to run sbuild in a Singularity image and this failed. However, I do not need the whole
power of engines like sbuild, as none of the packages involved require
root priviledges to build.
Do you have a suggestion for a tool can run in user mode in a container
image having access to local storage on the host, and that given a
Debian source control file will download the dependencies and build the package ?
Can you give me an example of a package you want to build and what is
the starting point, and I can tell you what command to issue to https://salsa.debian.org/otto/debcraft to achieve it?
It supports running Podman in user mode (=no root permissions needed),
Le Tue, May 07, 2024 at 08:17:31PM -0700, Otto Kekäläinen a écrit :
Can you give me an example of a package you want to build and what is
the starting point, and I can tell you what command to issue to https://salsa.debian.org/otto/debcraft to achieve it?
It supports running Podman in user mode (=no root permissions needed),
Hi Otto,
it looks really great!
Do you think you can make it work with Singularity/Apptainer instead of Podman? Our cluster runs only singularity 3.5.2 (https://docs.sylabs.io/guides/3.5/user-guide/). Debian has version
4.1.2 in the singularity-container package.
The conversion of a Docker container to the Singularity format is
simple, and Singularity already mounts most of the local storage to make
it visible and writable from within the container.
<div dir="auto">The entire code base is shell code. Perhaps you want to take a look if it looks hackable for you?</div><div dir="auto"><br></div><div dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I read the docs on how Singularity is able to pull Docker images of Debian Sid and build on top of them, and run and exec just like Docker/Podman. Unfortunately it has its own Containerfile format ( https://docs.sylabs.io/guides/3.5/user-guide/quick_start.html#singularity-definition-files)
and the commands have their own syntax. I guess Debcraft could be extended
to support it, but that would require at least one Singularity user as frequent contributor to test and develop Singularity-compatibility.
The entire code base is shell code. Perhaps you want to take a look if it looks hackable for you?
I want to leverage our cluster to automate as much of the rebuildsHave you tried the unshare backend for sbuild? It uses Linux
as I
can, but could not find the right tool. I tried to run sbuild in a >Singularity image and this failed. However, I do not need the whole
power of engines like sbuild, as none of the packages involved require
root priviledges to build.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 146:14:32 |
Calls: | 10,383 |
Calls today: | 8 |
Files: | 14,054 |
D/L today: |
2 files (1,861K bytes) |
Messages: | 6,417,699 |