-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kompose doesn't find dockerfile with context . #944
Comments
Hey there! There was some effort pushed towards fixing this for build, but the contributor refused to sign the CLA. I believe the same / similar code could be created for using But yes, this is currently a problem. |
checked #946 but this issue still exists, docker-compose.yml can't find Dockerfile. 'docker-compose build' is working but 'kompose up' doesn't build. It might be caused from relative pathing but it should work with them. Edit: kompose v1.18 seems working |
Don't work for me the kompose v1.18 |
1.18 not working |
1.19 not working |
I think I have find two errors:
1 - kompose us searching for context related to directory from where it is run, not from where docker-compose.yml file is located
2 - kompose fail to look for dockerfile (if the context is not in a subdirectory ?) -- could be related: #809 & #832
Error:
{"message":"Cannot locate specified Dockerfile: Dockerfile"}
Note that docker-compose work well here.
Structures
docker-compose-dev.yml
The text was updated successfully, but these errors were encountered: