#!/bin/shset -euxcd /var/tmp/# bootc images have their own deployed image in a local registrypodman run -d --rm --name ostree-registry -p 5000:5000 -v /var/lib/cockpit-test-registry/:/var/lib/registry localhost/test-registry# build updated bootc image with our RPMspodman build -t localhost/bootc-test --layers=false -f - . <<EOFFROM localhost:5000/bootc:latestCOPY ./rpms /tmp/rpmsRUN rpm --upgrade --verbose /tmp/rpms/*.rpm && rm -r /tmp/rpmsCOPY ./playground /usr/share/cockpit/playgroundEOF# deploy itbootc switch --transport containers-storage localhost/bootc-test# clean uppodman rm -ft0 ostree-registrypodman rmi localhost:5000/bootc localhost/bootc-test# ensure that we don't accidentally test with containerpodman rmi quay.io/cockpit/ws:latest