-
Notifications
You must be signed in to change notification settings - Fork 145
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 "procps" to daemon "Recommends" (for "docker top") #509
Conversation
(and for the avoidance of doubt, yes, I did run this file through |
@tonistiigi ptal |
Git is required for |
This is hugely surprising to me -- there are a lot of benefits to what was implemented in moby/moby#4364, the primary one being moby/moby#2715. |
@tianon had a chat about that with Tonis, and with buildkit the ssh-agent can be forwarded to the daemon, so giving the best of both worlds (git clone directly at the daemon side, without having to clone client-side and then sending), and the credentials not leaving the client. |
Building from git is very important, not only for performance but for properly tracking build sources for remote caching and future inspection, repeatability and replay features. Having no client-side dependencies is also important for the language extensibility and for supporting different environments where builds can be invoked. Building from git is the preferred way to invoke a build and we'll only make it more common over time. The implementation itself may change in the future, eg. if there is movement with moby/buildkit#1048 , but atm it relies on a git package dependency. |
Signed-off-by: Tianon Gravi <[email protected]>
Updated to only add |
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.
LGTM
bringing this one in |
Hi! This is adjusting the dependencies foraddingdocker-ce
anddocker-ce-cli
-- movinggit
toRecommends
on the latter (because these days,dockerd
should only be shelling out togit
as a not-recommended-for-use backwards compatibility measure) andprocps
(which is needed fordocker top
and given it's onlyPriority: important
not essential, might not be installed).Both of these do belong in
Recommends:
(notDepends:
) because they're both related to technically optional behavior of the CLI (although behavior that's common enough to warrantRecommends:
instead ofSuggests:
so most users get them automatically).I'm guessing there are more items in this list of
Recommends:
fordocker-ce
that should also move, but I'm not personally up-to-date enough to recognize them offhand (libltdl7
?). Happy to adjust/include them if someone else knows more reliably! ❤️(Directly inspired by bottlerocket-os/bottlerocket#1210; @samuelkarp ❤️)