TypeScript Dockerfiles (filesystem, memory, sequentialthinking) ignore the workspace lockfile and overrides
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- docker, node.js, typescript
- 領域
- build-system, devops
調査の方向性
src/everything/DockerfileとそのDocker除外ファイルを、filesystem、memory、sequentialthinkingのDockerfileと比較してください。まず、既存のイメージがルートのロックファイル、workspaceのインストール、非rootユーザーをどのように使用しているかを確認し、同じ方法を指定された3つのイメージに適用してください。各イメージをリポジトリのルートからビルドし、インストールでロックファイルが使われること、開発依存関係が正しく省かれること、非rootユーザーで実行されることを確認してください。
索引モデルが issue の本文から書いたものです。
説明
Problem
The Dockerfiles for filesystem, memory and sequentialthinking build (since #5147 moved them to node:24-alpine, see #4782), but they do not install what this repository tested:
- The workspace lockfile and
overridesare ignored. Each builder stage copiessrc/<server>alone and runs a lockfile-lessnpm install, which resolves every dependency fresh on the day of the build. The rootpackage-lock.jsonand the rootpackage.jsonoverrides(the pins for transitive advisories:qs,hono,proxy-addr,ip-address, …) never reach the image. Example from theeverythingimage built the same way: it installed[email protected], where the lockfile has6.16.0. --omit-devis not an npm flag.npm ci --ignore-scripts --omit-devprintsnpm warn Unknown cli config "--omit-dev"; dev dependencies are left out only becauseNODE_ENV=productionis set. The flag is--omit=dev.- They run as root (the TypeScript half of #4741, which covers the Python images).
Reproduce
docker build -f src/filesystem/Dockerfile -t fs-check . 2>&1 | grep -E 'omit-dev|added'
Expected
Each image installs from the root lockfile with npm ci --workspace src/<server>, building from the repository root as context, with a src/<server>/Dockerfile.dockerignore allow-list. #3309's PR does this for everything (src/everything/Dockerfile); the same shape applies to the other three. Out of scope for #3309, which concerns everything only.
- 主要言語
- TypeScript
- スター
- 91.6k
- フォーク
- 11.9k
- 平均マージ
- 4時間 31分
- マージ済み PR(30日)
- 236
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
modelcontextprotocol/servers のほかの issue
-
enhancement server-everything v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/servers#5371 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
docs(git): clarify unconfined default scope and repository confinement options in README and CLIオープンdocumentation server-git v2
難易度 1/5 1時間未満 初心者へのやさしさ 74/100
modelcontextprotocol/servers#5230 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug server-filesystem v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/servers#5216 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation server-git server-time v2
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
modelcontextprotocol/servers#5213 · コメント 2 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation v2
難易度 1/5 1〜3時間 初心者へのやさしさ 78/100
modelcontextprotocol/servers#5212 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
modelcontextprotocol/servers の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
better-auth/better-auth#12132 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
hurttlocker/o8#5112 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
webrecorder/wabac.js#386 ·
-
needs-triage
難易度 1/5 1〜3時間 初心者へのやさしさ 92/100
agent-of-empires/agent-of-empires#5098 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信