Update internal repo to support non-root user scenario
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 48/100
調査の方向性
まず、内部の Dockerfile とリリースパイプライン YAML を、公開 PR #3520 の変更と比較します。完了の条件は、root と non-root の両方のタグがビルドされ、署名され、SBOM/manifest とレジストリへのプッシュに含まれ、scan gate が non-root イメージを対象とし、release notes または image README に両方のバリアントとその注意点が記載されていることです。
索引モデルが issue の本文から書いたものです。
説明
Related to: https://github.com/Azure/data-api-builder/issues/3514
Background
Public PR Azure/data-api-builder#3520 restructured the sample Dockerfile into a multi-target build with two runtime variants:
runtime(default / last stage) — runs as root, backwards-compatible with today's published image.runtime-nonroot(opt-in via--target runtime-nonroot) — runs asUSER $APP_UID(UID 1654), satisfies scanners (e.g. Checkmarx One) that require a non-rootConfig.User.
The public Dockerfile is only a customer sample. The image we actually publish is built from the internal repo, which has its own Dockerfile + release pipeline YAML — both need updating to publish the second tag.
Tasks
- Update the internal
Dockerfileto match #3520 (multi-stageruntime-base→runtime/runtime-nonroot,USER $APP_UID, non-recursivechown $APP_UID:$APP_UID /App/logs). - Update the pipeline to build + push both images: root (
:<version>,:latest) and non-root (--target runtime-nonroot→:<version>-nonroot,:latest-nonroot). - Run signing, SBOM/manifest, and registry push for both tags.
- Point the container scan gate at the
-nonrootimage. - Update release notes / image README with the two variants and non-root consumer caveats.
- 主要言語
- C#
- スター
- 1.5k
- フォーク
- 371
- 平均マージ
- 9日 2時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile または Docker Compose ファイルあり
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/data-api-builder のほかの issue
-
pgsql
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3598 ·
メンテナーはふだん 1 日以内に返信
-
2.x cli mcp-server
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3576 ·
メンテナーはふだん 1 日以内に返信
-
2.x health-endpoint
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3570 ·
メンテナーはふだん 1 日以内に返信
-
2.x telemetry
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
Azure/data-api-builder#3564 ·
メンテナーはふだん 1 日以内に返信
-
2.x telemetry
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Azure/data-api-builder#3562 ·
メンテナーはふだん 1 日以内に返信
Azure/data-api-builder の issue をすべて見る
似ている issue
-
.NET bug
難易度 2/5 1〜3時間 初心者へのやさしさ 86/100
RayWangQvQ/BiliBiliToolPro#1144 ·
メンテナーはふだん 1 日以内に返信
-
area-System.Numerics.Tensors untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
dotnet/runtime#134691 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 86/100
microsoft/DataFactory.MCP#121 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
unoplatform/uno.templates#2277 ·
メンテナーはふだん 5 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/fluentui-blazor#5344 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信