Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Podman from source
# script-name build_dir
dnf config-manager --set-enabled powertools
dnf install
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 \
pushd "$1"
git clone .
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