-
Notifications
You must be signed in to change notification settings - Fork 321
Description
If I define an installsAfter in a devcontainer-feature.json
like this:
"installsAfter": [
"ghcr.io/devcontainers/features/node"
]
It looks like this is honored, if I define the feature exactly like that
// Works
"ghcr.io/devcontainers/features/node": {}
but not if I define it with a version instead, e.g.
// Doesn't work
"ghcr.io/devcontainers/features/node:1": {},
To reproduce that, e.g. have a look at this scenario.json
https://github.com/NicoVIII/devcontainer-features/blob/96275e44d27abe90acf88a1378ff7646f45f9b54/test/pnpm/scenarios.json
The first two testcases work as expected, the last one, where I defined the version, didn't. You can look at that in the output of the GitHub Actions job (which is a bit crowded with all the docker output, but after a while you can see, that the first two scenarios succeeded, while the last one didn't):
https://github.com/NicoVIII/devcontainer-features/actions/runs/3399930614/jobs/5654000995#step:4:2058
Is this intended? I would have guessed, that installsAfter works for all versions, if I don't define one in there.