Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Dockerized setup with docker-compose file #20

Open
QueerCodingGirl opened this issue Apr 17, 2021 · 5 comments
Open

Comments

@QueerCodingGirl
Copy link

No description provided.

@neolynx
Copy link
Member

neolynx commented May 30, 2021

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.

@QueerCodingGirl
Copy link
Author

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?

@neolynx
Copy link
Member

neolynx commented Jun 6, 2021

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
Copy link
Member

neolynx commented Jan 18, 2022

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 !

@QueerCodingGirl
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants