Azure / draft-classic

A tool for developers to create cloud-native applications on Kubernetes.
https://draft.sh
MIT License
3.92k stars 397 forks source link

Build error: can't find Dockerfile if Dockerfile name is blank on Windows #808

Closed itowlson closed 6 years ago

itowlson commented 6 years ago

On a Windows machine, using current HEAD, go into the example-go sample and run draft create followed by draft up.

draft up fails during the Building Docker Image stage, and the logs contain:

2018/06/04 11:08:34 error while building: Error response from daemon: Cannot locate specified Dockerfile: Dockerfile

Changing the dockerfile line in draft.toml to contain the name Dockerfile works around this. This issue appears to be introduced with #798, as reverting that change also fixes it.

easauceda commented 6 years ago

Affected by this on mac as well.