broken installsAfter on OCI repo
@chrmarti がすでに取り組んでいます。
2025年3月28日 から。
評価
この issue はまだ評価されていません。
説明
Hi,
I have a devcontainer.json file referring to 2 features, feature Bar and feature Baz. The features are hosted in an OCI registry.
I am using vscode 1.97 and devcontainer extension 0.401.0
Feature Baz have an installAfter clause referring to feature Bar.
The container build fails when reference to feature Baz in feature B is not exactly the same (with version) as the one in the devcontainer.json.
VSCode tries to install feature Bar without a version and does not find it. If I put only the id of the feature instead of the full feature reference, it does not work either disregading what is specified in https://containers.dev/implementors/features/#installsAfter.
Here is a redacted version of the files:
{
"image": "ubuntu:latest",
"features": {
"registry.gitlab.com/foo/bar:0.0.1": {},
"registry.gitlab.com/foo/baz:0.0.1": {},
}
}
feature bar:
{
"name": "bar",
"id": "bar",
"version": "0.0.1",
}
feature baz not working:
{
"name": "baz",
"id": "baz",
"version": "0.0.1",
"installsAfter": [
"registry.gitlab.com/foo/bar" => Does not work, VSCode tries to install the feature literally version without version does not exist
]
}
feature baz not working:
{
"name": "baz",
"id": "baz",
"version": "0.0.1",
"installsAfter": [
"bar" => Does not work, VSCode does not see feature at all
]
}
feature baz working:
{
"name": "baz",
"id": "baz",
"version": "0.0.1",
"installsAfter": [
"registry.gitlab.com/foo/bar:0.0.1" => works
]
}
- 主要言語
- TypeScript
- スター
- 3k
- フォーク
- 461
- 平均マージ
- 18分
- マージ済み PR(30日)
- 5
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
devcontainers/cli のほかの issue
-
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
devcontainers/cli#1203 ·
-
難易度 1/5 1〜3時間 初心者へのやさしさ 68/100
devcontainers/cli#1178 · コメント 1 件 ·
-
難易度 5/5 1週間以上 初心者へのやさしさ 25/100
devcontainers/cli#1308 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 78/100
devcontainers/cli#1307 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
devcontainers/cli#1305 ·
devcontainers/cli の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
bug v2
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
modelcontextprotocol/inspector#2458 · コメント 1 件 ·
-
難易度 1/5 1時間未満 初心者へのやさしさ 75/100
railmapgen/rmp-gallery#4068 ·
-
Mend: dependency security vulnerability status: needs triage 🕵️♀️
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
carbon-design-system/ibm-products#9907 ·