Skip to content

Add --only-root option for install command.Β #2166

Closed
@jancespivo

Description

  • I have searched the issues of this repo and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

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.

Metadata

Assignees

No one assigned

    Labels

    kind/featureFeature requests/implementations

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions