Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

broken installsAfter on OCI repo

オープン
#967 コメント 4 件 リアクション 0 件 担当者 1 名 GitHub で見る

@chrmarti がすでに取り組んでいます。

2025年3月28日 から。

評価

この issue はまだ評価されていません。

説明

bug

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

devcontainers/cli のほかの issue

devcontainers/cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。