-
Notifications
You must be signed in to change notification settings - Fork 84
Description
Summary
As part of Salesforce Code Analyzer v5 (currently in Beta), new engines have been introduced including Flowtest. As per the Developer Documentation Python 3.10 or later is required. However this is not currently included in the Full Dockerfile. Please kindly include Python in this Dockerfile https://github.com/salesforcecli/cli/blob/main/dockerfiles/Dockerfile_full.
{ "architecture": "linux-x64", "cliVersion": "@salesforce/cli/2.75.1", "nodeVersion": "node-v22.13.0", "osVersion": "Linux 6.10.14-linuxkit", "rootPath": "/usr/local/lib/nodejs/lib/node_modules/@salesforce/cli", "shell": "bash", "pluginVersions": [ "@oclif/plugin-autocomplete 3.2.18 (core)", "@oclif/plugin-commands 4.1.17 (core)", "@oclif/plugin-help 6.2.22 (core)", "@oclif/plugin-not-found 3.2.37 (core)", "@oclif/plugin-plugins 5.4.26 (core)", "@oclif/plugin-search 1.2.19 (core)", "@oclif/plugin-update 4.6.26 (core)", "@oclif/plugin-version 2.2.20 (core)", "@oclif/plugin-warn-if-update-available 3.1.31 (core)", "@oclif/plugin-which 3.2.26 (core)", "@salesforce/cli 2.75.1 (core)", "apex 3.6.8 (core)", "api 1.3.3 (core)", "auth 3.6.87 (core)", "data 4.0.4 (core)", "deploy-retrieve 3.17.7 (core)", "info 3.4.32 (core)", "limits 3.3.44 (core)", "marketplace 1.3.7 (core)", "org 5.2.23 (core)", "packaging 2.9.12 (core)", "schema 3.3.46 (core)", "settings 2.4.10 (core)", "sobject 1.4.49 (core)", "telemetry 3.6.29 (core)", "templates 56.3.35 (core)", "trust 3.7.55 (core)", "user 3.6.6 (core)" ] }
Happy to Fork and Raise a Pull Request to add this.
Steps To Reproduce
- Pull the source Dockerfile from salesforce/cli:full
# Use the Salesforce CLI Full Docker Image as a base, which includes npm preinstalled
FROM salesforce/cli:latest-full - Attempt to install code-analyser with
sf plugins install code-analyzer - Attempt to run
sf plugins --core
Expected result
Console prints code-analyzer 5.0.0 (5.0.0)
Actual result
Console reports Python is missing as a dependency
System Information
Bash inside Docker Build with GitHub Actions