Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

build process should work inside containers #17

Open
jmtd opened this issue Nov 3, 2016 · 1 comment
Open

build process should work inside containers #17

jmtd opened this issue Nov 3, 2016 · 1 comment

Comments

@jmtd
Copy link
Owner

jmtd commented Nov 3, 2016

I'm surprised this didn't occur to me earlier, but we should generally run the builds inside containers themselves, so the host does not need to be Debian/have debootstrap around. There is one edge-case for bootstrapping, obviously you need an image to spawn builder containers from, but once you've got one, that's the exception rather than the rule.

@orent
Copy link

orent commented May 31, 2017

I tried something similar but the bootstrapping to run everything inside the container was ugly.

Eventually i found a simpler solution: run fakeroot debootstrap --foreign on the host, and so the debootstrap --second-stage inside the container.

Debootstrap --foreign has very few dependencies and can be made to run on non-debian hosts without much trouble.

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

No branches or pull requests

2 participants