coder / coder/envbuilder

envbuilder: use container entrypoint if ENVBUILDER_INIT_SCRIPT is not set

オープン
#351 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
300
フォーク
64
平均マージ
20分
マージ済み PR(30日)
1

説明

By default, envbuilder runs `/bin/sh -c sleep infinity` as the entrypoint.
This behaviour can be surprising, so we should default to the entrypoint defined in the container if `ENVBUILDER_INIT_SCRIPT` / `ENVBUILDER_INIT_COMMAND` are not set.

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

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Start by locating the handling of ENVBUILDER_INIT_SCRIPT and ENVBUILDER_INIT_COMMAND, then trace where the default `/bin/sh -c sleep infinity` entrypoint is selected. Verify that the container-defined entrypoint is used when both variables are unset, while the existing environment-variable overrides still work.

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

評価

技術スタック
docker, go
領域
devops, infrastructure
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
42/100

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

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