21 Replies
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
so you want apk packages that persist in home?
yeah, like on paper ... if I apk install brew, and all the other wolfi things, can I have a pseudo-final-shape?
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.
topgrade does apk already, and I'm thinking host mode for this one
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
ah
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
ah
I want to get brew installed at build time
yeah I would like to remove things from the image and get them from brew instead
and from there, just bind those into our ephermeral distroboxes
I wonder if we should look at podmansh again too
we've kinda replicated that with the quadlet. podmansh with quadlet acts very, very similar to the distrobox quadlet
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
the idea would be that you just have your host brew cellar
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
fiar
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
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
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