runner-images/fedora-41-minimal/Containerfile

20 lines
530 B
Text
Raw Permalink Normal View History

2024-11-28 11:54:18 +00:00
FROM fedora:41
RUN sh /imgbuild/fedora/instpkgs-minimal.sh
# We don't clean up dnf cache since user may want to install packages for their use
ADD containers.conf /etc/containers/
RUN sh /imgbuild/configure-nested-container.sh
VOLUME /var/lib/containers
VOLUME /home/action/.local/share/containers
# Set up environment variables to note that this is
# not starting with usernamespace and default to
# isolate the filesystem with chroot.
ENV _BUILDAH_STARTED_IN_USERNS="" BUILDAH_ISOLATION=chroot
ENTRYPOINT [ "/bin/bash" ]