Last active
May 16, 2021 10:44
-
-
Save afro-coder/f334942de33142ab202d27d899c1f5ce to your computer and use it in GitHub Desktop.
Podman from source
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
# script-name build_dir | |
# | |
dnf config-manager --set-enabled powertools | |
dnf install https://mirror.rackspace.com/elrepo/elrepo/el8/x86_64/RPMS/elrepo-release-8.2-1.el8.elrepo.noarch.rpm | |
dnf --enablerepo=elrepo-testing install btrfs-progs-devel | |
dnf -y update | |
dnf install -y btrfs-progs-devel\ | |
conmon \ | |
containernetworking-plugins \ | |
containers-common crun \ | |
device-mapper-devel \ | |
git glib2-devel \ | |
glibc-devel \ | |
glibc-static go \ | |
golang-github-cpuguy83-md2man \ | |
golang-github-cpuguy83-go-md2man \ | |
gpgme-devel iptables \ | |
libassuan-devel libgpg-error-devel \ | |
libseccomp-devel libselinux-devel \ | |
make pkgconfig \ | |
slirp4netns systemd-devel \ | |
gpgme-devel dnf-plugins-core \ | |
binutils-devel | |
pushd "$1" | |
git clone https://github.com/containers/podman.git . | |
make BUILDTAGS="selinux seccomp systemd" | |
sudo make install PREFIX=/usr |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment