cloudposse/build-harness

Path with spaces brakes for Docker

hans-d opened this issue · 1 comments

hans-d commented

Describe the Bug

When docker is installed in a path with spaces, it brakes the Makefile

make[2]: *** No rule to make target `/Users/hansd/Library/Application'.  Stop.
make[1]: *** [/Users/hansd/Library/Application] Error 2

Expected Behavior

just runs

Steps to Reproduce

$ which docker
/Users/hansd/Library/Application Support/multipass/bin/docker

Eg this occurs when using multipass on a Mac (https://multipass.run/docs/docker-tutorial)

Screenshots

No response

Environment

  • Mac
  • Multipass optionally

Additional Context

issue:

DOCKER ?= $(shell which docker)

Thank you for reporting the issue! If you haven't already joined our slack community, then we invite you to do so.

This is a great place to get help and ask questions from our AMAZING community.

Slack Community