Tool for interactive command line environments on Linux
Find a file
Debarshi Ray 66ab4da724 Allow running under sudo(8) when desired
This adds a --sudo flag, and the corresponding /etc/sudoers.d
configuration snippet, to run everything under sudo(8) for debugging.
2018-09-20 21:15:09 +02:00
Dockerfile Dockerfile: Add a maintainer label 2018-09-18 16:06:55 +02:00
extra-packages extra-packages: Add more things present in the Workstation image 2018-09-11 19:09:10 +02:00
fedora-toolbox Allow running under sudo(8) when desired 2018-09-20 21:15:09 +02:00
fedora-toolbox-sudo Allow running under sudo(8) when desired 2018-09-20 21:15:09 +02:00
LICENSE Initial revision 2018-08-31 18:38:01 +02:00
README.md README.md: Be consistent with the hyphenation 2018-09-14 13:11:53 +02:00

Fedora Toolbox — Hacking on your OSTree-based Fedora

Fedora Toolbox is a tool that offers a familiar RPM based environment for developing and debugging software on locked down OSTree based Fedora systems like Silverblue. Such operating systems are shipped as immutable OSTree images, where it's difficult to setup a development environment with your favorite tools, editors and SDKs. A toolbox container solves that problem by providing a RPM based mutable container. You can tweak it to your heart's content and use DNF to install your favorite packages, all without worrying about breaking your operating system.

The toolbox environment is based on the fedora-toolbox image. This image is then customized for the current user to create a toolbox container that seamlessly integrates with the rest of the operating system.

Usage

Create the basic Fedora Toolbox image:

[user@hostname fedora-toolbox]$ buildah bud --tag fedora-toolbox:28 .
STEP 1: FROM docker://registry.fedoraproject.org/fedora:28
Getting image source signatures
…
…
…
[user@hostname fedora-toolbox]$

Modify the Dockerfile to match your taste and Fedora version. The image should be tagged as fedora-toolbox with a suffix matching the host Fedora version. eg., fedora-toolbox:29, etc..

Create your Fedora Toolbox container:

[user@hostname fedora-toolbox]$ ./fedora-toolbox create
[user@hostname fedora-toolbox]$

This will create a container, and an image, called fedora-toolbox-<your-username>:28 that's specifically customised for your host user.

Enter the Toolbox:

[user@hostname fedora-toolbox]$ ./fedora-toolbox enter
🔹[user@toolbox ~]$