jelmer / janitor

Platform for making incremental changes to code in VCSes
https://jelmer.uk/code/janitor
GNU General Public License v2.0
10 stars 6 forks source link

codemods / builders as containers #58

Open jelmer opened 1 year ago

jelmer commented 1 year ago

For practical purposes, it would be great if we could ship codemods as containers. This is tricky though, since it requires running docker-in-docker (or podman-in-podman/podman-in-kubernetes). These are possible in theory but tricky in practice, with the ways that the janitor is currently being run (e.g. in GKE).

jelmer commented 1 year ago

The main issue here seems to be the presence of device node files. Perhaps we can use fakeroot to work around this?

jelmer commented 1 year ago

In practice, it might look something like this: