You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Local feature not working in Remote-Containers #116
On Windows, I get the error "Expected feature identifier to contain only alphanumeric and/or the '-' characters."
I'm also unable to build the container with that configuration.
In the devcontainer check that the file /there.txt exists.
(If you want to reproduce the problem in 0.244.0 first, you need to change the feature's path in the devcontainer.json to "./.devcontainer/foo". This changed later to be relative to the devcontainer.json.)
Activity
Fix cwd (fixes #116)
Fix cwd (fixes #116)
rzhao271 commentedon Aug 26, 2022
On Windows, I get the error "Expected feature identifier to contain only alphanumeric and/or the '-' characters."
I'm also unable to build the container with that configuration.
chrmarti commentedon Sep 1, 2022
Thanks Raymond Zhao (@rzhao271), the following verifies the fix:
File layout:

devcontainer.json:
{ "image": "ubuntu:latest", "features": { "./foo": "latest" } }devcontainer-feature.json:
{ "id": "foo" }install.sh:
In the devcontainer check that the file
/there.txtexists.(If you want to reproduce the problem in 0.244.0 first, you need to change the feature's path in the devcontainer.json to
"./.devcontainer/foo". This changed later to be relative to the devcontainer.json.)rzhao271 commentedon Sep 1, 2022
Verified in macOS on 0.252.0.