Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

draft up fails #23

Open
schdief opened this issue Mar 10, 2019 · 3 comments
Open

draft up fails #23

schdief opened this issue Mar 10, 2019 · 3 comments
Labels
help wanted Extra attention is needed

Comments

@schdief
Copy link

schdief commented Mar 10, 2019

First of all thanks for setting up this nice sample project, it helps a lot understanding helm, draft and AKS. Unfortunately I'm stuck right at the beginning and I'm hoping to find some help here.

I think I took care of all the prerequisites, but I can't draft up the parrot service as it misses the Dockerfile, which is there. Here you can see the output:

Steves-MBP:parrot schdief$ draft up
Draft Up Started: 'parrot': 01D5KQFETCVKEKTHD5GFW87QEQ
parrot: Building Docker Image: FAIL ❌  (1.0013s)
Inspect the logs with `draft logs 01D5KQFETCVKEKTHD5GFW87QEQ`
Steves-MBP:parrot schdief$ draft logs 01D5KQFETCVKEKTHD5GFW87QEQ
2019/03/10 12:58:17 error while building: Error response from daemon: Cannot locate specified Dockerfile: Dockerfile
Steves-MBP:parrot schdief$ ls
Controllers                     NOTICE                          appsettings.Development.json    charts                          parrot.csproj
Dockerfile                      Program.cs                      appsettings.json                draft.toml                      semantic
Hubs                            Startup.cs                      azure-build-pipeline.yml        package-lock.json               semantic.json
Models                          Views                           bundleconfig.json               package.json                    wwwroot

Any idea what is missing? Help is much appreciated, thanks!

@angularsen
Copy link

angularsen commented Mar 24, 2019

Edit parrot/draft.toml and change line 9 to:

    dockerfile = "Dockerfile"

I'm new at this, but this seems to work here at least. On Windows, using git for windows bash and CMD.

@rohancragg
Copy link

@angularsen - works for me in Windows 10 too

@AdamSharif-MSFT
Copy link

@angularsen works for me also, Windows 10 build 1903 - great find, thank you!

@mathieu-benoit mathieu-benoit added the help wanted Extra attention is needed label Apr 28, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

5 participants