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

Document ways of deriving environment variables within a Dockerfile

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

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
52/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
dockerfile
領域
documentation

調査の方向性

まずREADMEと、Dockerfileのビルド引数から値を導出する方法についてのリンク先のMobyのディスカッションを読んでください。列挙されているアプローチを、スコープと永続性を含め、簡潔な例とともに文書化し、READMEで3.8のような値のドット形式とコンパクト形式の両方を生成する方法を説明してください。

索引モデルが issue の本文から書いたものです。

説明

As discussed in architecture meeting 04.05.2022.
Sometimes an argument is passed in to a Dockerfile which needs to be used in different forms e.g. for --build-arg PYTHON=3.8 we may need 3.8 in places (for e.g. product downloads), but 38 in others (microdnf commands). There are different ways of deriving and persisting one variable from another, and this issue covers documenting them with examples in the README e.g.

  • using the moby approach of choosing a specific base image (see here)
  • use an inline script wrapped by a RUN so that the derived variable is available for the scope of that command
  • source the environment variables and echo the environment to a file
  • etc.
主要言語
Dockerfile
スター
22
フォーク
7
平均マージ
1日 20時間
マージ済み PR(30日)
32

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

stackabletech/docker-images のほかの issue

stackabletech/docker-images の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

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

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