buildah-build/.github/install_latest_buildah.sh
Divyanshu Agrawal fe5edd5859
Add matrix to install latest buildah (#67)
* Add matrix to install latest buildah

Signed-off-by: divyansh42 <diagrawa@redhat.com>
2021-09-13 19:51:29 +05:30

7 lines
497 B
Bash

# https://github.com/containers/buildah/blob/main/install.md
. /etc/os-release
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/x${ID^}_${VERSION_ID}/ /' > /etc/apt/sources.list.d/devel:kubic:libcontainers:stable.list"
wget -nv https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable/x${ID^}_${VERSION_ID}/Release.key -O Release.key
sudo apt-key add - < Release.key
sudo apt-get update -qq
sudo apt-get -qq -y install buildah