-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement workaround for broken buildah installation
- Loading branch information
Showing
3 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -ex | ||
|
||
sudo apt-get remove buildah | ||
sudo apt-get -y install software-properties-common | ||
sudo add-apt-repository -y ppa:alexlarsson/flatpak | ||
sudo apt-get -y -qq update | ||
sudo apt-get -y install bats libapparmor-dev libdevmapper-dev libglib2.0-dev libgpgme11-dev libseccomp-dev libselinux1-dev skopeo-containers go-md2man | ||
sudo apt-get -y install golang-1.13 | ||
mkdir ~/buildah | ||
pushd ~/buildah | ||
export GOPATH=`pwd` | ||
git clone https://github.com/containers/buildah ./src/github.com/containers/buildah | ||
cd ./src/github.com/containers/buildah | ||
git checkout release-1.19 | ||
PATH=/usr/lib/go-1.13/bin:$PATH make runc all SECURITYTAGS="apparmor seccomp" | ||
sudo make install install.runc | ||
buildah version | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters