add fedora-42
Some checks failed
/ build (push) Failing after 2m55s

This commit is contained in:
thislight 2025-06-30 21:17:41 +08:00
parent 9899ce98f7
commit 20d284c6ee
5 changed files with 125 additions and 0 deletions

View file

@ -0,0 +1,19 @@
FROM fedora:42
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" ]

View file

@ -0,0 +1,2 @@
[engine]
cgroup_manager = "cgroupfs"