feat: add container-tools (#44)

* feat: add container-tools bling option

* docs: container-tools description

* fix: fetch all necessary files for containers-tools in base fetch script
This commit is contained in:
Tulili 2023-09-20 13:42:18 -03:00 committed by GitHub
parent a40bcab274
commit 7bf3c4aa12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 6 deletions

View file

@ -18,4 +18,6 @@ install:
# - dconf-update-service # a service unit that updates the dconf db on boot
# - devpod # https://devpod.sh/ as an rpm
# - gnome-vrr # enables gnome-vrr for your image
# - container-tools # installs container-related tools onto /usr/bin: kind, kubectx, docker-compose and kubens
```

View file

@ -0,0 +1,11 @@
#!/usr/bin/env bash
# Tell build process to exit if there are any errors.
set -oue pipefail
install -c -m 0755 "$BLING_DIRECTORY/files/usr/bin/docker-compose" "/usr/bin/docker-compose"
install -c -m 0755 "$BLING_DIRECTORY/files/usr/bin/kind" "/usr/bin/kind"
install -c -m 0755 "$BLING_DIRECTORY/files/usr/bin/kubectx" "/usr/bin/kubectx"
install -c -m 0755 "$BLING_DIRECTORY/files/usr/bin/kubectx" "/usr/bin/kubens"
rpm-ostree install "$BLING_DIRECTORY/rpms/dive*.rpm"