TIL: if you do ADD --chown
in a Dockerfile to add a tarball as a layer, the --chown
does not apply to the tarball's content, which makes it pretty useless.
[#]Docker
=> More informations about this toot | More toots from aoristdual@fosstodon.org
@aoristdual isn't that how it also works normally chown'ing a tarball. It only does the tar file itself, not what is actually coming out of the extraction (those are preserved within the tarball).
I generally chown a directory after extracting it just for this reason (like when I'm doing it in Puppet).
=> More informations about this toot | More toots from Kancept@allthingstech.social
@Kancept Oh, for sure - I was just expecting different behavior when I was adding the tarball content as an image layer. 🤷 Wrong intuition.
=> More informations about this toot | More toots from aoristdual@fosstodon.org
@aoristdual ahhh, I see where you're coming from now. Gotcha.
=> More informations about this toot | More toots from Kancept@allthingstech.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini