49 Replies
GitHub
Consider adding apk based Image like Wolfi or Alpine · Issue #1474 ...
Both seem to be common choices for containers and currently there is no official image, that uses apk as package manager. Of course this can be done using distrobox, but having a more officially su...
good news, upstream toolbx-images is willing to accept wolfi, IMO we should "move" our wolfi-base there and maintain it there. As luck would have it, timothee maintains the images repo, and I've maintained alpine's images there already
cc @EyeCantCU @89luca89
https://github.com/toolbx-images/images
repo
and here's my alpine section
https://github.com/toolbx-images/images/tree/main/alpine/edge
https://github.com/toolbx-images/images/blob/main/.github/workflows/alpine.yaml
and here's the workflow. It'd be a quick copy and rename job, I'll try to work on it tonight unless someone else gets to it first
Our wolfi toolbox will now launch in toolbox, but there are two bugs.
1. User is not added to sudoers file.
2. Wolfi doesn't seem to have the xterm terminfo
Happy to help out with this though availability today will be scarce. Got a nightmare of images thrown my way
NeuVector has been... an experience lol
1. Unsure how toolbox sets sudoers compared to distrobox.
2. The ncurses package simply doesn't have the terminfo. Distrobox mounts in host term info under /usr/local
My demo to ya'll is on Monday, and even if it's just "we intend to do this" it'll be enough
just knowing that upstream would be receptive to wolfi at all is amazing. We build this, the sysext and a WSL image, and we'll have the Wolfi Subsystem for Linux.
I saw! Can't wait. Definitely awesome that they're receptive. Let's definitely get all this built out. Lol, it'd be funny to call the repo for Wolfi SL WSL...
I am literally going to call it that
WSL is the best undistro for WSL
1- no problem now Wolfi has "real" sudo and works well with dbox (and I assume toolbx)
2- this can be a non-issue with dbox but it's an issue with toolbx
btw I'm already using a wolfi container for some time now:
there are some missing packages (mainly utilities like cpupower) and I'd like to NOT use
go install
(but these are plans for the future 😉 )Yepp real sudo is there. It looks like toolbox un comments the group wheel/sudo and doesn't do that for wolfi
do we think it's good enough as is to PR? I was thinking of getting it in there and then do some subsequent PRs, I found stuff that can be sliced out of ours to submit. We add things for like instant launch in distrobox that probably not go in this base image?
yea toolbx acts on /etc/sudoers.conf while dbox does an augmenting conf in /etc/sudoers.conf.d
btw it takes me about 5 minutes every 6 months to maintain the alpine images, and that's only because they release versions, with wolfi it'd be really low mainteance, I can commit to that part
instant launch is supported for sure, if we add the missing packages 👍
toolbox instant launches right?