-
Notifications
You must be signed in to change notification settings - Fork 769
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
Add build
key support for v3 of Docker Compose
#636
Comments
@surajssd Yes, but this issue is for post-# #600 merge. V3 Build support does not work due to: https://github.com/docker/cli/blob/master/cli/compose/types/types.go#L9 (see ignored section), thus we don't map it in Kompose. |
@surajssd @cdrage , as |
@surajnarwade This would have to be fixed upstream unfortunately, or we can find a work-around to retrieve the keys. |
When the time comes, we will move the If you can find a way to retrieve the build key that'd be great! 👍 💯 👍 (we don't need to figure out the |
thanks , @cdrage I will give it a try :) |
I think we should set this as high-priority so we can add |
PR pushed here: docker/cli#481 |
Looks like it doesn't support just a string for build.
|
@coli , yeah :( |
@coli , that problem will resolve after docker/libcompose#498 gets merged and again vendoring for |
Resolves kubernetes#636 This PR will add support for `build` in docker compose v3. As docker/cli#481 got merged now
@surajnarwade No idea why you're referencing docker/libcompose. Docker Compose V3 support within Kompose is using docker/cli Your PR is here: #846 for Version 3 implementation. @coli are you using Version 2 or Version 3 in your Docker Compose YAML file? If you're using Version 2, this is a separate issue as Version 3 is yet to be supported. |
I'm on v3. |
Okay, so your statement about libcompose was unrelated.. The problem will not be resolved after docker/libcompose#498 is merged in. It will be resolved after #846 |
Resolves kubernetes#636 This PR will add support for `build` in docker compose v3. As docker/cli#481 got merged now
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
To resolve build context issue as mentioned in kubernetes#636 This PR will update vendor for `libcompose` and `docker/cli` and fix small issues from `pkg/loader/compose/v3.go` which are occuring due to new changes in `docker/cli`
How do you fix |
@tsauvajon I've had this same problem, it looks like kompose doesn't respect the optional string parameter. You can work around it by changing the config to a map like so build:
context: ./build_path |
@rkachowski oh okay I had not understood the error message thanks a lot! |
Resolves kubernetes#636 This PR will add support for `build` in docker compose v3. As docker/cli#481 got merged now
This will have to be fixed upstream as the code here in
docker/cli
ignores build at the moment: https://github.com/docker/cli/blob/master/cli/compose/types/types.go#L9This is a tracking issue as #600 has yet to be merged.
The text was updated successfully, but these errors were encountered: