diff --git a/demos/buildah-scratch-demo.sh b/demos/buildah-scratch-demo.sh index 7a6d223f3..4db207753 100755 --- a/demos/buildah-scratch-demo.sh +++ b/demos/buildah-scratch-demo.sh @@ -41,13 +41,13 @@ read -p "${cyan}Time to install some basic bash capabilities: coreutils and bash if [ "$pkgmgr" == "dnf" ]; then $pkgmgr install --installroot $scratchmnt --release ${distrorelease} bash coreutils --setopt install_weak_deps=false -y elif [ "$pkgmgr" == "yum" ]; then - $pkgmgr install --installroot $scratchmnt --release ${distrorelease} bash coreutils -y + $pkgmgr install --installroot $scratchmnt --releasever ${distrorelease} bash coreutils -y else echo -e "${red}[Error] Unknown package manager ${pkgmgr}${reset}" fi read -p "${cyan}Clean up the packages${reset}" -$pkgmgr clean --installroot $scratchmnt --release ${distrorelease} all +$pkgmgr clean --installroot $scratchmnt all read -p "${green}Run the shell and see what is inside. When your done, type ${red}exit${green} and return.${reset}" buildah run $newcontainer bash read -p "${cyan}Let's look at the program${yellow}" @@ -81,4 +81,4 @@ read -p "${blue}Run the container using Podman.${reset}" podman run $demoimg read -p "${green}Make sure you are already logged into your account on Quay.io. Or use Quay creds.${reset}" buildah push $demoimg docker://quay.io/$quayuser/$demoimg -echo -e "${red}We are done!${reset}" \ No newline at end of file +echo -e "${red}We are done!${reset}"