diff --git a/.github/workflows/os.yml b/.github/workflows/os.yml index a347f83..ee5bdda 100644 --- a/.github/workflows/os.yml +++ b/.github/workflows/os.yml @@ -11,6 +11,8 @@ on: push: paths: - 'Dockerfile' + - 'etc/' + - 'usr/' env: # Use docker.io for Docker Hub if empty diff --git a/etc/distrobox.ini b/etc/distrobox.ini new file mode 100644 index 0000000..8415487 --- /dev/null +++ b/etc/distrobox.ini @@ -0,0 +1,10 @@ +[general-cachyos] +image=ghcr.io/andersrh/containers/cachyos/general:main +#additional_packages=" " +export="app codium" +init=false +nvidia=true +pull=true +root=false +replace=false +home="~/containers/general" diff --git a/usr/local/bin/distrobox-update b/usr/local/bin/distrobox-update new file mode 100755 index 0000000..daf5a22 --- /dev/null +++ b/usr/local/bin/distrobox-update @@ -0,0 +1,5 @@ +#!/bin/sh + +podman rm -f general-cachyos + +distrobox assemble create --file /etc/distrobox.ini