Open flouthoc opened 11 months ago
It appears this is an issue in openshift/imagebuilder, and can be seen in both podman and buildah.
@flouthoc any thoughts?
@TomSweeneyRedHat Yes I created this issue for more visibility as I am confused about which behaviour is more correct here , is it buildah or buildkit. In past we have identified some behaviours as bugs in buildkit so I just want to be sure before I create a fix for this.
@nalind any thoughts on this behavior ?
From what I can see that
buildah
correctly processARG
andENV
from--build-arg
in heredoc content if variables are not escaped while buildkit does not and this is inconsistent, I'd like to fix this ( looks like easy fix ) but before fixing I think maintainers can give a quick look and share there opinion if buildkit has bug or not.Buildah's output
Buildkit's output
There is a discrepancy, I'm creating this issue to discuss if buildah should match buildkit's output or not. The fix is relatively easy.