-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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 --only-root option for install command. #2166
Comments
Also interested in this feature. I have a similar multistage build, with the added constraint that the second stage has no network connectivity, so as to isolate the parts of the build that depend on external data. We could remove |
I'd like to add support for this feature. I have repos with C++ extensions I need to edit and rebuild while developing. Right now, the only way for me to do so is rerun |
Curious if anyone has found a manual workaround for this? is there a way to use [edit] answering my own question -- So it seems like there i no need for a special |
This seems to have been implemented recently in #5783. |
Resolved by #5783 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Feature Request
It would be nice if the
--only-root
option for install command will be introduced. We have a use-case with the multistage docker build. At first, we install dependencies with--no-root
option because dependencies are not changing so often. During the second stage, we would like to install only the application. Unfortunately, there are some git dependencies so the second stage requires git installed even no dependencies are finally installed.The text was updated successfully, but these errors were encountered: