molior icon indicating copy to clipboard operation
molior copied to clipboard

[Feature Request] Dockerized setup with docker-compose file

Open QueerCodingGirl opened this issue 3 years ago • 5 comments

QueerCodingGirl avatar Apr 17 '21 04:04 QueerCodingGirl

Hi !

fully agree :-) now there is a first docker compose: https://github.com/molior-dbs/molior/blob/feature/docker-compose/docker/docker-compose.yml

would be great if you could give it a try !

Note: if you intend to build debian packages, you would need to add VMs or physical (i.e. ARM) build nodes. If you only like to use the repository management, the docker deployments are fine.

neolynx avatar May 30 '21 21:05 neolynx

First of all: Thank you very much for all the work!

At this moment i do not have the time to test it, but just from looking i would say it looks good. I will test it in about 2 weeks from now, when my schedule isn't that full.

What i do not understand is the problem with building packages inside a container. Just from a quick google search, it seems like no problem at all. ( https://www.google.com/search?q=build+debian+packages+inside+container )

Could you explain a bit what the problem is, please?

QueerCodingGirl avatar May 31 '21 06:05 QueerCodingGirl

The reason is that molior is using sbuild for building packages which does an awesome job running in a minimal and clean environment with schroot and takes care of dependencies amongst other things. unfortunately, schroot does not run inside a docker container, due to bind mounts for example.

There are 2 possible ways forward: a) write a new molior backend plugin which builds in docker b) make schroot possible inside docker

I have started some prove of concept for b) already (https://gitlab.com/neolynx/fakechroot/-/tree/feature/schroot), but I think it would make sense to work on a) as well. The requirement is to have something generic, which allows to build all kind of packages, including rebuilding official debian packages, in all architectures.

I agree that the need for a VM is a bit inconvenient ;-)

neolynx avatar Jun 06 '21 14:06 neolynx

Hi QueerCodingGirl,

we have a new release out ! Installation via docker-compose is not possible :-)

if you wanna give it a try, feedback is welcome !

neolynx avatar Jan 18 '22 22:01 neolynx

"not possible" is a typo, right? You mean "now possible"? Because otherwise there would be no need to try again, right?

QueerCodingGirl avatar Jan 20 '22 08:01 QueerCodingGirl