6 toolbox rm --force $NAME || true
7 podman pull quay.io/cockpit/tasks:${TAG}
8 yes | toolbox create --image quay.io/cockpit/tasks:${TAG} -c $NAME
10 # install some extra development and desktop tools
11 toolbox run -c "$NAME" sh -exc '
13 echo "cockpit-toolbox" | sudo tee /etc/hostname
14 sudo hostname -F /etc/hostname
17 sudo sed -i s/nodocs// /etc/dnf/dnf.conf
19 sudo dnf install -y ansible bash-completion man-db man-pages moreutils fd-find ripgrep gh git-delta neovim \
20 python3-boto python3-boto3 python3-openstacksdk python3-pytest-asyncio libnotify \
22 simple-scan /usr/bin/scanimage /usr/bin/pngquant /usr/bin/convert pdfmerge \
23 cargo rustfmt clippy \
24 calibre qt5-qtwayland \
25 dbus-daemon tmt tmt-provision-virtual flatpak-builder flatpak-spawn \
28 # commands to forward to the host
29 for cmd in podman toolbox nmcli eog evince; do
30 printf "flatpak-spawn --host $cmd \42\$@\42\n" | sudo tee /usr/local/bin/$cmd >/dev/null
31 sudo chmod a+x /usr/local/bin/$cmd