]> piware.de Git - bin.git/blobdiff - build-cockpit-toolbox
system-maintenance: Update flatpaks
[bin.git] / build-cockpit-toolbox
index 75c7eaee9e37466366b792b0c4f9048f7e04a05d..d233b7869fa20ed090873ca7f8c2d5e3383791aa 100755 (executable)
@@ -1,9 +1,11 @@
 #!/bin/sh
 set -eux
-NAME=cockpit
+NAME=${NAME:-cockpit}
+TAG=${TAG:-latest}
 
 toolbox rm --force $NAME || true
-yes | toolbox create --image quay.io/cockpit/tasks -c $NAME
+podman pull quay.io/cockpit/tasks:${TAG}
+yes | toolbox create --image quay.io/cockpit/tasks:${TAG} -c $NAME
 
 # install some extra development and desktop tools
 toolbox run -c "$NAME" sh -exc '
@@ -18,7 +20,9 @@ sudo dnf install -y ansible man-pages moreutils \
     python3-boto python3-boto3 libnotify \
     pandoc texlive-ec texlive-pdfjam \
     /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \
-    calibre qt5-qtwayland
+    kpcli \
+    calibre qt5-qtwayland \
+    dbus-daemon tmt tmt-provision-virtual
 
 # debugging cockpit crashes
 sudo dnf debuginfo-install -y glib2 glibc libssh gnutls