dagdotdev icon indicating copy to clipboard operation
dagdotdev copied to clipboard

expose "&{ ... <nil> }"

Open yosifkit opened this issue 4 months ago • 0 comments

Thanks @tianon 😜

"created_by": "EXPOSE &{[{{103 0} {103 0}}] <nil>}",

oci.dag.dev renders this as an unescaped <nil> element when viewing the "pretty printed" version (line or whole history). There is a buildkit bug filed for the bad value in created_by for EXPOSE: https://github.com/moby/buildkit/issues/6217.

curl:
<pre>EXPOSE &{[{{103 0} {103 0}}] <nil>}</pre>

browser inspect:
<pre>EXPOSE &amp;{[{{103 0} {103 0}}] <nil>}</nil></pre>

yosifkit avatar Sep 11 '25 23:09 yosifkit