19 lines
530 B
Docker
19 lines
530 B
Docker
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" ]
|