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

Update internal repo to support non-root user scenario

オープン
#3,713 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
docker
領域
ci-cd, devops, release

調査の方向性

まず、内部の 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 as USER $APP_UID (UID 1654), satisfies scanners (e.g. Checkmarx One) that require a non-root Config.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 Dockerfile to match #3520 (multi-stage runtime-base → runtime / runtime-nonroot, USER $APP_UID, non-recursive chown $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 -nonroot image.
  • Update release notes / image README with the two variants and non-root consumer caveats.
主要言語
C#
スター
1.5k
フォーク
371
平均マージ
9日 2時間
マージ済み PR(30日)
10

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

Azure/data-api-builder のほかの issue

Azure/data-api-builder の issue をすべて見る

似ている issue

C# の issue をもっと見る

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

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