-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(quadlets): Add support for Bluefin DX CLI & Wolfi DX toolboxes
Implements support for Bluefin DX CLI and Wolfi DX toolbox images under quadlets
- Loading branch information
Showing
2 changed files
with
80 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[Unit] | ||
Description=Bluefin DX CLI for Wolfi development with brew | ||
|
||
[Container] | ||
Annotation=run.oci.keep_original_groups=1 | ||
AutoUpdate=registry | ||
ContainerName=bluefin | ||
Environment=SHELL=%s | ||
Environment=HOME=%h | ||
Environment=XDG_RUNTIME_DIR=%t | ||
Environment=USER=%u | ||
Environment=USERNAME=%u | ||
Environment=container=podman | ||
Exec=--verbose --name %u --user %U --group %G --home %h --init "0" --nvidia "1" --pre-init-hooks " " --additional-packages " " -- " " | ||
Image=ghcr.io/ublue-os/bluefin-dx-cli:latest | ||
HostName=bluefin.%l | ||
Network=host | ||
PodmanArgs=--entrypoint /usr/bin/entrypoint | ||
PodmanArgs=--ipc host | ||
PodmanArgs=--no-hosts | ||
PodmanArgs=--privileged | ||
PodmanArgs=--label manager=distrobox | ||
PodmanArgs=--security-opt label=disable | ||
PodmanArgs=--security-opt apparmor=unconfined | ||
Ulimit=host | ||
User=root:root | ||
UserNS=keep-id | ||
Volume=/:/run/host:rslave | ||
Volume=/tmp:/tmp:rslave | ||
Volume=%h:%h:rslave | ||
Volume=/dev:/dev:rslave | ||
Volume=/sys:/sys:rslave | ||
Volume=/dev/pts | ||
Volume=/dev/null:/dev/ptmx | ||
Volume=/sys/fs/selinux | ||
Volume=/var/log/journal | ||
Volume=/var/home/%u:/var/home/%u:rslave | ||
Volume=%t:%t:rslave | ||
Volume=/etc/hosts:/etc/hosts:ro | ||
Volume=/etc/resolv.conf:/etc/resolv.conf:ro |
40 changes: 40 additions & 0 deletions
40
quadlets/wolfi-toolbox/wolfi-dx-distrobox-quadlet.container
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[Unit] | ||
Description=Wolfi DX Toolbox for Wolfi development | ||
|
||
[Container] | ||
Annotation=run.oci.keep_original_groups=1 | ||
AutoUpdate=registry | ||
ContainerName=wolfi-quadlet | ||
Environment=SHELL=%s | ||
Environment=HOME=%h | ||
Environment=XDG_RUNTIME_DIR=%t | ||
Environment=USER=%u | ||
Environment=USERNAME=%u | ||
Environment=container=podman | ||
Exec=--verbose --name %u --user %U --group %G --home %h --init "0" --nvidia "1" --pre-init-hooks " " --additional-packages " " -- " " | ||
Image=ghcr.io/ublue-os/wolfi-dx-toolbox:latest | ||
HostName=wolfi-quadlet.%l | ||
Network=host | ||
PodmanArgs=--entrypoint /usr/bin/entrypoint | ||
PodmanArgs=--ipc host | ||
PodmanArgs=--no-hosts | ||
PodmanArgs=--privileged | ||
PodmanArgs=--label manager=distrobox | ||
PodmanArgs=--security-opt label=disable | ||
PodmanArgs=--security-opt apparmor=unconfined | ||
Ulimit=host | ||
User=root:root | ||
UserNS=keep-id | ||
Volume=/:/run/host:rslave | ||
Volume=/tmp:/tmp:rslave | ||
Volume=%h:%h:rslave | ||
Volume=/dev:/dev:rslave | ||
Volume=/sys:/sys:rslave | ||
Volume=/dev/pts | ||
Volume=/dev/null:/dev/ptmx | ||
Volume=/sys/fs/selinux | ||
Volume=/var/log/journal | ||
Volume=/var/home/%u:/var/home/%u:rslave | ||
Volume=%t:%t:rslave | ||
Volume=/etc/hosts:/etc/hosts:ro | ||
Volume=/etc/resolv.conf:/etc/resolv.conf:ro |