No description
Find a file
Adam Štrauch 2507622816
All checks were successful
Build and Push / build-and-push (push) Successful in 1m16s
Dig package
2025-04-22 09:10:45 +02:00
.github/workflows Scheduled builds 2025-04-21 13:08:14 +02:00
COPYING Licence 2025-04-21 21:10:40 +02:00
Dockerfile Dig package 2025-04-22 09:10:45 +02:00
podman-compose.sh Initial commit 2025-04-21 02:48:26 +02:00
README.md README update 2025-04-21 16:40:15 +02:00
Taskfile.yml Initial commit 2025-04-21 02:48:26 +02:00
uni.sh Initial commit 2025-04-21 02:48:26 +02:00

My devcontainer

Container for distrobox that I use for development that is based on fedora-toolbox image.

Installed Tools

  • System Utilities: duf, fd-find, fish, fzf, htop, ncdu, tmux, vim, zstd, ipcalc, sdcv, tldr, jq, genius, pwgen, httpie, ripgrep, lsd
  • Development Tools:
    • Languages: golang, nodejs, python3-devel
    • Database Clients: mycli, pgcli
    • Version Control: git-lfs
    • Cloud Tools: awscli
    • Build Tools: make
    • Editor: Visual Studio Code (code)

Custom User

  • A user cx is preconfigured with:
    • UID: 1000
    • GID: 1000
    • Default shell: fish

Podman and Docker Compatibility

  • Podman and Docker commands are aliased to a custom script (uni.sh) for seamless container management.

Incus Support

  • Includes Incus link to the host's instance of Incus.

Usage

Including systemd:

distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone --init

No systemd:

distrobox create -i gitea.ceperka.net/cx/devcontainer:f42-latest -n drone --hostname drone

When the container you can enter it and run code out of there:

distrobox enter drone

When inside you can export code into the host's system which makes it like it's installed directly on the host system itself, including URL processing.

distrobox-export --app code

From the host system this image imports podman and incus so you can use both inside the container.

Any application can work both ways. distrobox mounts wayland socket into the container so even GUI apps work seamlessly.