build: add shm-size support#790
Conversation
|
I'm not sure about adding this to bake atm. I think we need to think through what to do with this and similar fields like ulimit, memory limits etc and if they should be grouped together under one field in bake. Network=host isn't currently in bake either. |
Also, in a lot of cases, these fields make more sense in a dockerfile, per command. |
Yes we can do that in a follow-up for bake sure. Maybe a
While working on the gateway impl for shm-size, I had started to add |
Yes, was slightly wondering this as well. Perhaps we should look when/why it was added in the classic builder, and what the exact use-case was.
In the end, |
|
@thaJeztah That's a good point @crazy-max I wonder if we should revert the llb part in moby/buildkit#2384 and instead add |
@tonistiigi Yeah would make sense to change that in llb but keep the frontend attr specific to shm-size for the whole build right? |
yes |
|
@tonistiigi Bake impl has been removed. |
|
(relates to moby/moby#40379) |
This comment has been minimized.
This comment has been minimized.
0d9a141 to
10d186a
Compare
Signed-off-by: CrazyMax <[email protected]>
Signed-off-by: CrazyMax <[email protected]>
Follow-up moby/buildkit#2384
Fixes #418
vendor: moby/buildkit@ba673bb...8778943
Signed-off-by: CrazyMax [email protected]