X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=07113caf3e5017cc30b61c69f086282ec9a5c1b9;hp=3971153b441c18bd4829d8f2757ffdb2820969c5;hb=04cb6fda408bce81175607b04828c99e011752be;hpb=7f975a8479b4065be204c9681df32645d12a96b4 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 3971153..07113ca 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 ' @@ -15,15 +16,17 @@ sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf +# hack for flatpak-builder +sudo mkdir -p /usr/lib/rpm/macros.d +echo "%_netsharedpath /dev:/media:/mnt:/proc:/sys:/tmp:/var/lib/flatpak:/var/lib/libvirt" | sudo tee /usr/lib/rpm/macros.d/macros.toolbox + 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 \ + 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 + chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls