Closed dustinblackman closed 3 months ago
Hey @dustinblackman, thanks for reporting the issue, we'll look into it!
I'm getting the same error BTW
Hi @dustinblackman @edulix
I've opened a draft PR for a quick fix of this https://github.com/loft-sh/devpod/pull/967 Can you test if this fixes your situation?
Thanks!
What happened?
When using
devpod build
against a devcontainer that uses docker compose, the command fails with the following:The error looks to come from here where when docker compose is used, the PrebuildHash isn't generated.
Looking at how the hash is generated, I believe a decision has to be made whether the hash generated with a docker compose file should match when built against the same file without docker compose, or I've misunderstood the logic due to lack of context.
What did you expect to happen instead?
devpod build
should be able to generate a hash when using docker-compose, and then run successfully.How can we reproduce the bug? (as minimally and precisely as possible)
I have a branch on an open source project that can be used to reproduce here.
Otherwise, the important parts:
My
devcontainer.json
:docker-compose.yml
Local Environment:
DevPod Provider:
provider.yaml
config fileAnything else we need to know?
Happy to put up a PR for this during any free time I can make if I can get some guidance on the right solution. :)