Skip to content

Commit

Permalink
feat: Toolbox Quadlets for bluefin containers.
Browse files Browse the repository at this point in the history
  • Loading branch information
m2Giles authored Jan 14, 2024
1 parent df8beae commit 922f23e
Show file tree
Hide file tree
Showing 4 changed files with 141 additions and 0 deletions.
36 changes: 36 additions & 0 deletions quadlets/bluefin-cli/bluefin-cli-toolbox-quadlet.container
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[Unit]
Description=Bluefin CLI, Wolfi container to serve you brew

[Container]
AutoUpdate=registry
ContainerName=bluefin-cli-toolbox-quadlet
Environment=TOOLBOX_PATH=/usr/bin/toolbox
Environment=XDG_RUNTIME_DIR=%t
Exec=init-container --gid %G --home %h --shell %s --uid %U --user %u --home-link --media-link --mnt-link
HostName=bluefin-cli-toolbox-quadlet
Image=ghcr.io/ublue-os/bluefin-cli:latest
Mount=type=devpts,destination=/dev/pts
Network=host
PodmanArgs=--cgroupns host
PodmanArgs=--ipc host
PodmanArgs=--label com.github.containers.toolbox=true
PodmanArgs=--no-hosts
PodmanArgs=--pid host
PodmanArgs=--privileged
PodmanArgs=--security-opt label=disable
PodmanArgs=--entrypoint toolbox
Ulimit=host
UserNS=keep-id
User=root:root
Volume=/:/run/host:rslave
Volume=/dev:/dev:rslave
Volume=/run/dbus/system_bus_socket:/run/dbus/system_bus_socket
Volume=/var/%h:/var/%h:rslave
Volume=/usr/bin/toolbox:/usr/bin/toolbox:ro
Volume=%t:%t
Volume=/run/avahi-daemon/socket:/run/avahi-daemon/socket
Volume=/run/.heim_org.h5l.kcm-socket:/run/.heim_org.h5l.kcm-socket
Volume=/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
Volume=/run/media:/run/media:rslave
Volume=/etc/profile.d/toolbox.sh:/etc/profile.d/toolbox.sh:ro
Volume=bluefin-cli-Cellar.volume:/home/linuxbrew/.linuxbrew/Cellar
35 changes: 35 additions & 0 deletions quadlets/fedora-toolbox/fedora-toolbox-quadlet.container
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[Unit]
Description=Fedora Toolbox for your toolbox needs

[Container]
AutoUpdate=registry
ContainerName=fedora-toolbox-quadlet
Environment=TOOLBOX_PATH=/usr/bin/toolbox
Environment=XDG_RUNTIME_DIR=%t
Exec=init-container --gid %G --home %h --shell %s --uid %U --user %u --home-link --media-link --mnt-link
HostName=fedora-toolbox-quadlet
Image=ghcr.io/ublue-os/fedora-toolbox:latest
Mount=type=devpts,destination=/dev/pts
Network=host
PodmanArgs=--cgroupns host
PodmanArgs=--ipc host
PodmanArgs=--label com.github.containers.toolbox=true
PodmanArgs=--no-hosts
PodmanArgs=--pid host
PodmanArgs=--privileged
PodmanArgs=--security-opt label=disable
PodmanArgs=--entrypoint toolbox
Ulimit=host
UserNS=keep-id
User=root:root
Volume=/:/run/host:rslave
Volume=/dev:/dev:rslave
Volume=/run/dbus/system_bus_socket:/run/dbus/system_bus_socket
Volume=/var/%h:/var/%h:rslave
Volume=/usr/bin/toolbox:/usr/bin/toolbox:ro
Volume=%t:%t
Volume=/run/avahi-daemon/socket:/run/avahi-daemon/socket
Volume=/run/.heim_org.h5l.kcm-socket:/run/.heim_org.h5l.kcm-socket
Volume=/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
Volume=/run/media:/run/media:rslave
Volume=/etc/profile.d/toolbox.sh:/etc/profile.d/toolbox.sh:ro
35 changes: 35 additions & 0 deletions quadlets/ubuntu-toolbox/ubuntu-toolbox-quadlet.container
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[Unit]
Description=Ubuntu Toolbox for your toolbox needs

[Container]
AutoUpdate=registry
ContainerName=ubuntu-toolbox-quadlet
Environment=TOOLBOX_PATH=/usr/bin/toolbox
Environment=XDG_RUNTIME_DIR=%t
Exec=init-container --gid %G --home %h --shell %s --uid %U --user %u --home-link --media-link --mnt-link
HostName=ubuntu-toolbox-quadlet
Image=ghcr.io/ublue-os/ubuntu-toolbox:latest
Mount=type=devpts,destination=/dev/pts
Network=host
PodmanArgs=--cgroupns host
PodmanArgs=--ipc host
PodmanArgs=--label com.github.containers.toolbox=true
PodmanArgs=--no-hosts
PodmanArgs=--pid host
PodmanArgs=--privileged
PodmanArgs=--security-opt label=disable
PodmanArgs=--entrypoint toolbox
Ulimit=host
UserNS=keep-id
User=root:root
Volume=/:/run/host:rslave
Volume=/dev:/dev:rslave
Volume=/run/dbus/system_bus_socket:/run/dbus/system_bus_socket
Volume=/var/%h:/var/%h:rslave
Volume=/usr/bin/toolbox:/usr/bin/toolbox:ro
Volume=%t:%t
Volume=/run/avahi-daemon/socket:/run/avahi-daemon/socket
Volume=/run/.heim_org.h5l.kcm-socket:/run/.heim_org.h5l.kcm-socket
Volume=/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
Volume=/run/media:/run/media:rslave
Volume=/etc/profile.d/toolbox.sh:/etc/profile.d/toolbox.sh:ro
35 changes: 35 additions & 0 deletions quadlets/wolfi-toolbox/wolfi-toolbox-quadlet.container
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
[Unit]
Description=Wolfi Toolbox for your toolbox needs

[Container]
AutoUpdate=registry
ContainerName=wolfi-toolbox-quadlet
Environment=TOOLBOX_PATH=/usr/bin/toolbox
Environment=XDG_RUNTIME_DIR=%t
Exec=init-container --gid %G --home %h --shell %s --uid %U --user %u --home-link --media-link --mnt-link
HostName=wolfi-toolbox-quadlet
Image=ghcr.io/ublue-os/wolfi-toolbox:latest
Mount=type=devpts,destination=/dev/pts
Network=host
PodmanArgs=--cgroupns host
PodmanArgs=--ipc host
PodmanArgs=--label com.github.containers.toolbox=true
PodmanArgs=--no-hosts
PodmanArgs=--pid host
PodmanArgs=--privileged
PodmanArgs=--security-opt label=disable
PodmanArgs=--entrypoint toolbox
Ulimit=host
UserNS=keep-id
User=root:root
Volume=/:/run/host:rslave
Volume=/dev:/dev:rslave
Volume=/run/dbus/system_bus_socket:/run/dbus/system_bus_socket
Volume=/var/%h:/var/%h:rslave
Volume=/usr/bin/toolbox:/usr/bin/toolbox:ro
Volume=%t:%t
Volume=/run/avahi-daemon/socket:/run/avahi-daemon/socket
Volume=/run/.heim_org.h5l.kcm-socket:/run/.heim_org.h5l.kcm-socket
Volume=/run/pcscd/pcscd.comm:/run/pcscd/pcscd.comm
Volume=/run/media:/run/media:rslave
Volume=/etc/profile.d/toolbox.sh:/etc/profile.d/toolbox.sh:ro

0 comments on commit 922f23e

Please sign in to comment.