-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for ulimit #2398
Add support for ulimit #2398
Conversation
9eb65e4
to
9caf612
Compare
(relates to moby/moby#40379) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Define a capability for this in https://github.com/moby/buildkit/blob/master/solver/pb/caps.go . The LLB logic should mark that the capability is needed. In dockerfile check for capability and don't call LLB if it isn't available. So if llb uses this with old daemon they get an error but if dockerfile does same it is ignored(we can log a warning) like before.
3113309
to
6bc417e
Compare
dcb2de7
to
b9a86a6
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
Fixes #1665
Enable setting ulimit for exec commands similar to
docker build --ulimit
.Signed-off-by: CrazyMax crazy-max@users.noreply.github.com