Enhancing CircleCI CLI Integration in Docker: A Proposal for Local Binary Verification
M
Maciej Makowski
We want to integrate CircleCI CLI binaries into our Docker image. Currently, if the binary download fails, all subsequent test commands fail, which hampers productivity since the test split command downloads the binaries each time.
To address this, we propose downloading the CLI binaries into our Docker image. We also request that CircleCI implement a feature to check for the presence of local CLI binaries before downloading. This would prevent unnecessary re-downloads during multiple CircleCI commands in a single session and reduce the risk of failures
M
Maciej Makowski
Additional thought on the above: Would you be open to considering adding functionality so that this behavior can be controlled via an ENV variable?
Particularly, if we preloaded the latest CLI version in our CI image builds and were then able to set an ENV variable to skip further downloads that would help us to not do downloads on every single execution but the functionality overall wouldn't change for your other customers.