X-Git-Url: https://piware.de/gitweb/?p=bin.git;a=blobdiff_plain;f=build-cockpit-toolbox;h=c49a0b80745842c1d9008a0a4a00dd0e9963abb3;hp=75c7eaee9e37466366b792b0c4f9048f7e04a05d;hb=1d86aaf6336470259d6a2ee38168d18451bece64;hpb=8d68ac998d90f1d33dd354b16934dc0b00685910 diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index 75c7eae..c49a0b8 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -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 ' @@ -14,11 +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 \ + pandoc texlive-ec texlive-pdfjam texlive-beamer \ /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert \ - calibre qt5-qtwayland + kpcli \ + calibre qt5-qtwayland \ + chromium dbus-daemon tmt tmt-provision-virtual flatpak-builder # debugging cockpit crashes sudo dnf debuginfo-install -y glib2 glibc libssh gnutls