docker-archive / compose-cli

Easily run your Compose application to the cloud with compose-cli
Apache License 2.0
956 stars 253 forks source link

cli binary path handling #2178

Closed nicksieger closed 2 years ago

nicksieger commented 2 years ago

What I did

Update the way we choose which com.docker.cli binary executable to use.

  1. Use path from env variable $DOCKER_COM_DOCKER_CLI if defined and non-empty
  2. Use path formed from parent directory of current process executable joined with com.docker.cli
  3. Look for com.docker.cli on $PATH

Related issue

(not mandatory) A picture of a cute animal, if possible in relation with what you did

Butterfly

gabriellavengeo commented 2 years ago

Looks good to me too, +1 on the adding tests suggestion