devcontainers / devcontainers/cli

Question: How to execute the install dotfiles command as root?

オープン
#590 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature-request
主要言語
TypeScript
スター
3k
フォーク
457
平均マージ
13時間 17分
マージ済み PR(30日)
6

説明

Is there a way to execute the dotfile installation command (default: ./install.sh) as root? (more info #589 about the installation command).

Currently I'm setting the `remoteUser` as root for doing such thing, but I'm wondering if this can be done from the command line. Based on the arguments present in the devcontainer up --help. this is not possible.

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

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

調査の方向性

`devcontainer up --help` のエントリーポイントと、ここで説明されているデフォルトの `./install.sh` コマンドから始めます。インストールコマンドのコンテキストについては issue #589 を読みます。CLI が root として実行するオプションを公開できるかどうかを判断し、要求されたワークフローを可能にするために必要なコマンドラインの動作とドキュメントを検討します。

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

評価

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

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

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