Closed loderunner closed 7 months ago
Thanks for making this PR -- it seems to resolve the "/tmp/local_build_config.yml: is a directory" issue with Rancher Desktop.
Would like to see this change go in, or if someone could point me to the workaround. I'm on Intel Mac and Rancher Desktop.
+1
this would solve issues I see related to https://github.com/CircleCI-Public/circleci-cli/issues/716
Checklist
=========
Internal Checklist
Changes
During
circleci local execute
, make it possible to configure temporary directory to store config file.Rationale
This was needed to support alternative (aka "not Docker") container distributions on macOS, particularly lima-based distributions, such as colima or Rancher Desktop, that do not support mounting
/tmp
(or other "system paths") to their Linux VM.Considerations
local execute
, or inside thecli.yml
settings file with thetemp_dir
property, otherwise it defaults to the system's temporary dir/tmp
, instead reverting to system temp dir, as Docker Desktop now adds/var/folders
to its mount paths