Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Podman from source
# 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