forcedotcom / salesforcedx-docker

The official Dockerfile for Salesforce DX
BSD 3-Clause "New" or "Revised" License
74 stars 25 forks source link

Install sfdx-cli via Archive Download #12

Closed jonnyhork closed 4 years ago

jonnyhork commented 4 years ago

What does this PR do?

This PR will utilize the SFDX-CLI archives: https://developer.salesforce.com/media/salesforce-cli/manifest.json

To install the CLI in the docker image instead of using npm or yarn. This approach should yield performance improvements when building the Docker image because using the archives is a faster way to install the cli. TIME:

yarn/npm 1m17.881s Archive 0m9.144s

What issues does this PR fix or reference?

@W-6807529@

praksb commented 4 years ago

@jonnyhork verified that these change work. I'll merge it.