-
Notifications
You must be signed in to change notification settings - Fork 481
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
build: add cgroup-parent support #814
Conversation
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
build/build.go
Outdated
FrontendAttrs: map[string]string{}, | ||
Frontend: "dockerfile.v0", | ||
FrontendAttrs: map[string]string{ | ||
"cgroup-parent": opt.CgroupParent, |
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.
wonder if we should not check if cgroup-parent is already specified for a driver and in this case warn the user about it?
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.
I don't think they are strictly related.
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.
we should not set it if empty as there is no nil value
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.
ah yes indeed will fix that
e1113fe
to
8c8334c
Compare
7caf4a6
to
4fa4284
Compare
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
4fa4284
to
dd15969
Compare
follow-up #810 (comment)