-
Hello, I am gettitng an error when building this Dockerfile inside a Podman container in Kubernetes (like this). The error says: Is there a way to fix it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
That's a way to create a directory in a scratch container that I haven't seen before, will have to remember that one. |
Beta Was this translation helpful? Give feedback.
That's a way to create a directory in a scratch container that I haven't seen before, will have to remember that one.
It looks like you've found a bug in the chroot isolation handler that the podman image is configured to use by default.
Since it's a privileged container, you might be able to set BUILDAH_ISOLATION=oci or pass
--isolation=oci
to your build command, which will get it to use runc or crun, until this is fixed.