Skip to content

sf cli docker image (full and slim) do not contain the code-analyzer plugin #3459

@salesforcexland

Description

@salesforcexland

Summary

The full and slim docker images for SF CLI only contain sfdx-scanner (which is v4.x, and now retired), rather than code-analyzer (v5.x) which has been around for several months now and is the plugin everyone should be using.

This means an extra 20-25s of plugin installation is required on top of bringing down the docker image when used in CI pipelines

Steps To Reproduce

https://hub.docker.com/r/salesforce/cli/tags

No docker images contain the code analyzer plugin https://www.npmjs.com/package/@salesforce/plugin-code-analyzer

Expected result

We would expect code-analyzer plugin @latest to be installed

Actual result

Only sfdx-scanner is installed which is now retired

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue or pull request that identifies or fixes a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions