Skip to content

Instantly share code, notes, and snippets.

@afro-coder
Last active May 16, 2021 10:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afro-coder/f334942de33142ab202d27d899c1f5ce to your computer and use it in GitHub Desktop.
Save afro-coder/f334942de33142ab202d27d899c1f5ce to your computer and use it in GitHub Desktop.
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