github.com/containers/podman/v4@v4.9.4/contrib/podman-next/fcos-podmanimage/Containerfile (about) 1 FROM quay.io/fedora/fedora-coreos:stable 2 3 # Setup the podman-next copr repo 4 # The source file for the dnf repo may say `rawhide` but it's release 5 # agnostic and `rawhide` in the name is unlikely to change compared 6 # with URLs containing fedora release numbers. 7 ADD https://copr.fedorainfracloud.org/coprs/rhcontainerbot/podman-next/repo/fedora-rawhide/rhcontainerbot-podman-next-fedora-rawhide.repos /etc/yum.repos.d/rhcontainerbot-podman-next-fedora.repo 8 ADD https://download.copr.fedorainfracloud.org/results/rhcontainerbot/podman-next/pubkey.gpg /etc/pki/rpm-gpg/rhcontainerbot-podman-next-fedora.gpg 9 10 # Replace aardvark-dns, containers-common[-extra], crun, netavark, podman 11 # Install crun-wasm and wasmedge-rt 12 # Remove moby-engine, containerd, runc 13 # Note: Currently does not result in a size reduction for the container image 14 RUN rpm-ostree override replace --experimental --freeze \ 15 --from repo="copr:copr.fedorainfracloud.org:rhcontainerbot:podman-next" \ 16 aardvark-dns containers-common containers-common-extra crun netavark podman && \ 17 rpm-ostree install crun-wasm wasmedge-rt && \ 18 rpm-ostree override remove moby-engine containerd runc && \ 19 ostree container commit 20 21 LABEL quay.expires-after=30d