mirror of
https://github.com/redhat-actions/buildah-build.git
synced 2025-06-08 10:01:34 +00:00
Add script in a file to install latest buildah
Signed-off-by: divyansh42 <diagrawa@redhat.com>
This commit is contained in:
parent
0ce4cc103e
commit
7c11f3b4fb
4 changed files with 22 additions and 30 deletions
7
.github/install_latest_buildah.sh
vendored
Normal file
7
.github/install_latest_buildah.sh
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
# 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
|
Loading…
Add table
Add a link
Reference in a new issue