These toolbox images are tailored for my own use and stored in quay.io.
Preinstalled dev environment to build rpm packages. Also used for Fedora package reviews.
Preinstalled base environment used to complement packages installed via rpm-ostree.
You can either use toolbox run --container <container> <command> to launch the preinstalled package or
you can create a shim, store it somewhere in your PATH (for instance in ~/.local/bin), ln -s <shim_script> <package_binary> and finally launch a preinstalled package:
Assuming you want to run ranger and you want to name your container base:
-
Create the toolbox:
toolbox create --container base --image quay.io/returntrip/base-fedora-toolbox -
Create a shim:
~/.local/bin/toolbox-base-runner #!/bin/sh basename_bin=$(basename $0) exec toolbox run --container base $basename_bin "$@" -
Make the shim executable:
chmod +x toolbox-base-runner -
Create a symbolic link for
ranger:ln -s toolbox-base-runner ranger -
You can now use
rangeron the host and launchrangerfrom thebasetoolbox