Skip to content

DF031 false positive for pnpm install --frozen-lockfileΒ #4

@dkalinkov

Description

@dkalinkov

When running droast over Dockerfile containing:

RUN pnpm install --frozen-lockfile

droast incorrectly flags:

   INFO  [DF031]  npm install used β€” consider npm ci for reproducible builds
             at Dockerfile:10
             πŸ’¬ "`npm install` in a Dockerfile: non-deterministic, slower than `npm ci`, and potentially installs different versions than your lockfile specifies. `npm ci` exists specifically for CI/CD and containers. Use it."

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions