Installs the next-generation Salesforce sf CLI. Running sf version inside the built container will print the sf binary version.
$ sf version
@salesforce/cli/2.x.x linux-x64 node-v18.x.xInstalls the legacy (deprecated) Salesforce sfdx CLI. Running sfdx version inside the built container will print the sfdx binary version.
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/vercellone/devcontainer-features/sfdx-cli:1": {}
}
}$ sfdx version
sfdx-cli/7.194.1 linux-x64 node-v18.15.0
{ "image": "mcr.microsoft.com/devcontainers/base:ubuntu", "features": { "ghcr.io/vercellone/devcontainer-features/sf-cli:1": {} } }