Wolfi in user space theorycrafting

Wolfi in user space theorycrafting
21 Replies
j0rge
j0rge6mo ago
cc @EyeCantCU @M2 ok so, the whole brew install thing is kind of annoying, and when we tried to automate it it was kind of a show I wonder if apk can support installing in a writeable space, ~ or wherever
M2
M26mo ago
so you want apk packages that persist in home?
j0rge
j0rge6mo ago
yeah, like on paper ... if I apk install brew, and all the other wolfi things, can I have a pseudo-final-shape?
M2
M26mo ago
the challenge would be that updates to the container (if still using a container) would be on a lower layer than whatever is being installed in the homedir. So all updates would be on you locally.
j0rge
j0rge6mo ago
topgrade does apk already, and I'm thinking host mode for this one
M2
M26mo ago
In that case, I don't think that will easily work. Since wolfi packages are compiled expecting to place things in /usr We would need to rebuild the world
j0rge
j0rge6mo ago
ah
M2
M26mo ago
what "could" work. Wolfi container with a persistent volume in home that is overlayed /usr in the container. The challenge is that eventually everythin is just in your upper layer I ran that with a fedora quadlet and after a few weeks, I effectively had just made what distrobox does but with the added fun of having the image shift underneath you
j0rge
j0rge6mo ago
ah
M2
M26mo ago
I want to get brew installed at build time
j0rge
j0rge6mo ago
yeah I would like to remove things from the image and get them from brew instead
M2
M26mo ago
and from there, just bind those into our ephermeral distroboxes
j0rge
j0rge6mo ago
I wonder if we should look at podmansh again too
M2
M26mo ago
we've kinda replicated that with the quadlet. podmansh with quadlet acts very, very similar to the distrobox quadlet
j0rge
j0rge6mo ago
gotcha I think my biggest problem right now is the passthrough with the bluefin-cli box is still janky but maybe if we can get brew in the build step we can just do everything with brew
M2
M26mo ago
the idea would be that you just have your host brew cellar
j0rge
j0rge6mo ago
I'm playing with a new install and I'm like loving it but also want to throw the entire thing away and start over lol
M2
M26mo ago
fiar
j0rge
j0rge6mo ago
like how I love my kid but also grandma and grandpa should have him lol though I suppose that a sysext of brew by itself is inevitable but I'm impatient heh
EyeCantCU
EyeCantCU6mo ago
Hey all. Sorry. Can jump in later. I have an appointment in 10 :/ Doing this would be a challenge. It looks like you both got to the bottom of the complications. I would love to be able to fully replace brew with Wolfi by having applications built for Wolfi install to home but the big issue there is we aren't building out everything statically. Everything would have to run out of the container I'm still thinking podmansh + Bluefin CLI makes the most sense at the moment. Still sad we can't use a sysext as that's literally the perfect solution
M2
M26mo ago
I feel like we get a better integration with distrobox over podmansh. Though I'm unsure if we need all of that integration for bluefin-cli since it only needs a cli experience
Want results from more Discord servers?
Add your server