X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=d233b7869fa20ed090873ca7f8c2d5e3383791aa;hp=6aad9b0e8f86eff69071c73751c6e84566235da4;hb=6d7ce05585d91521917880d4f2aa95c0d1ff8691;hpb=390ee2d4f3236b84679187eb8e258707c92adb3b diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 6aad9b0..d233b78 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -1,10 +1,11 @@ #!/bin/sh set -eux -NAME=cockpit +NAME=${NAME:-cockpit} +TAG=${TAG:-latest} toolbox rm --force $NAME || true -podman pull quay.io/cockpit/tasks -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 ' @@ -21,10 +22,7 @@ sudo dnf install -y ansible man-pages moreutils \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ kpcli \ calibre qt5-qtwayland \ - dbus-daemon tmt testcloud - -# qemu:///session support for testcloud: https://pagure.io/testcloud/pull-request/83# -sudo dnf install -y https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/01968005-testcloud/python3-testcloud-0.4.0-4.fc33.noarch.rpm https://download.copr.fedorainfracloud.org/results/frantisekz/testcloud-wip/fedora-33-x86_64/01968005-testcloud/testcloud-0.4.0-4.fc33.noarch.rpm + dbus-daemon tmt tmt-provision-virtual # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls