Split configuration layers out of the dnf install layer
Some checks failed
Build-and-publish podman-in-docker / build-and-push (push) Failing after 2m49s

This commit is contained in:
2026-02-07 22:45:32 +03:00
parent 04ddf0127e
commit faabdf616d

View File

@@ -14,11 +14,15 @@ RUN set -e; \
dnf config-manager setopt \
updates.baseurl=${REPO_MIRROR}/fedora/linux/releases/${VERSION_ID}/Everything/${ARCH}/os/; \
dnf config-manager setopt updates.metalink=; \
fi; \
fi;
RUN set -e; \
dnf install -y podman-docker; \
touch /etc/containers/nodocker; \
rm -f /etc/containers/storage.conf; \
dnf clean all; \
rm -rf /var/cache/yum;
RUN set -e; \
touch /etc/containers/nodocker; \
rm -f /etc/containers/storage.conf;
ENTRYPOINT ["/usr/bin/podman", "system", "service", "--time", "0", "unix:///var/run/docker.sock"]