Skip to content

Bug fix: Merge metadata logic for containerEnv - devcontainer build - #392

Merged
Samruddhi Khandale (samruddhikhandale) merged 3 commits into
mainfrom
samruddhikhandale/containerenv-bug
Feb 3, 2023
Merged

Samruddhi Khandale (samruddhikhandale) merged 3 commits into
mainfrom
samruddhikhandale/containerenv-bug

Conversation

@samruddhikhandale

Copy link
Copy Markdown
Member

Fixes - #381

@samruddhikhandale

Copy link
Copy Markdown
Member Author

The following tests are failing https://github.com/devcontainers/cli/actions/runs/4069380934/jobs/7009165123#step:7:4476
since quite a few days and is not related to this PR changes

Fetching a manifest is failing with the following error 👇

Did not fetch manifest: {“errors”:[{“code”:“MANIFEST_UNKNOWN”,“message”:“OCI index found, but accept header does not support OCI indexes”}]}

Looking at how to fix it!

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense. Should we remove containerEnv from up then?

Comment thread src/spec-node/containerFeatures.ts Resolved
Comment thread src/spec-node/containerFeatures.ts Resolved
@chrmarti

Copy link
Copy Markdown
Contributor

I just now see: We still need containerEnv in up for the cases when we can avoid building a custom image (getExtendImageBuildInfo then skips getFeaturesBuildOptions).

@chrmarti Christof Marti (chrmarti) left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants