fly-apps/go-example

Deployment fails with "Project does not contain a Dockerfile and has not set a CNB builder, builtin builder or selected an image"

Closed this issue · 4 comments

Hello,
I'm trying to experiment fly.io using this repo but I'm having issues deploying it. It fails with error :
Project does not contain a Dockerfile and has not set a CNB builder, builtin builder or selected an image

Repro steps :

  • clone the project
  • login to flyctl
  • flyctl init
  • select Go builtin (and default answers for the rest)
  • flyctl deploy

Am I missing a step ?

Thanks

Could you tell me what version of flyctl you are using? (flyctl version)

I'm using 0.0.139 on Linux

Ah, issue found....

If you remove the .gitignore file from the project clone, it should build fine.

It was an issue that pops up with remote building when you don't have Docker installed locally.

Yep that solved it ! Thanks :)