[Buildroot] [PATCH] support/dockerfile: add directives to run as non-root
peter at korsgaard.com
Mon Feb 5 10:56:08 UTC 2018
>>>>> "Yann" == Yann E MORIN <yann.morin.1998 at free.fr> writes:
>> Your patch set does the right thing WRT the debian install/clean, so all
>> good, but I thought I'd mention this because it did not come up in any
>> discussions here or in the linked docs.
> OK, so we *do* have a Docker expert, now! ;-)
> Thank you for your explanations, that was very instructive. I gues
> that's because aufs is used underneath, or something like that?
> I would have expected that, instead of implicit, a layer would have been
> explicit, like with a COMMIT keyword or something like that...
> Anyway, it all makes sense in hindsight, indeed. Thanks!
One more thing to keep in mind, is that Docker expects the commands to
be idempotent, so docker will afaik cache each layer and reuse the cache
when you rerun the dockerfile later on and not actually execute those
Bye, Peter Korsgaard
More information about the buildroot