X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=d8ac387e523d9ac6c5d09a609d5cd9868f947416;hp=aa3dca346fd21d5f27847c5aa628f854d01eaa37;hb=d61e51be6f79b157e97f59b31edf58b114e755d1;hpb=84ae77949aa411749bbece3e1c502440d9f1aed2 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index aa3dca3..d8ac387 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,16 +16,14 @@ sudo hostname -F /etc/hostname # enable manpages sudo sed -i s/nodocs// /etc/dnf/dnf.conf -sudo dnf install -y ansible man-pages moreutils \ +sudo dnf install -y ansible man-pages moreutils gh \ python3-boto python3-boto3 libnotify \ - pandoc texlive-ec texlive-pdfjam \ + pandoc texlive-ec texlive-pdfjam texlive-beamer \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ kpcli \ calibre qt5-qtwayland \ - dbus-daemon tmt tmt-provision-virtual + chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls - -type gh >/dev/null 2>&1 || sudo dnf install -y $(curl -s https://api.github.com/repos/cli/cli/releases/latest | grep -o https:.*_linux_amd64.rpm) '