add distrobox config

This commit is contained in:
Anders Rytter Hansen 2023-11-05 16:21:13 +01:00
commit 96b0993986
3 changed files with 17 additions and 0 deletions

View file

@ -11,6 +11,8 @@ on:
push:
paths:
- 'Dockerfile'
- 'etc/'
- 'usr/'
env:
# Use docker.io for Docker Hub if empty

10
etc/distrobox.ini Normal file
View file

@ -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"

5
usr/local/bin/distrobox-update Executable file
View file

@ -0,0 +1,5 @@
#!/bin/sh
podman rm -f general-cachyos
distrobox assemble create --file /etc/distrobox.ini