Ancestors

Toot

Written by David Reed on 2024-12-16 at 19:45

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

Descendants

Written by Kancept on 2024-12-16 at 21:36

@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

Written by David Reed on 2024-12-16 at 22:38

@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

Written by Kancept on 2024-12-17 at 03:17

@aoristdual ahhh, I see where you're coming from now. Gotcha.

=> More informations about this toot | More toots from Kancept@allthingstech.social

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113664217687070006
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
274.468248 milliseconds
Gemini-to-HTML Time
0.999014 milliseconds

This content has been proxied by September (ba2dc).