fix(docker): install pnpm for DeepSeek profile - #350
Open
opticon454 wants to merge 1 commit into
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Restore clean builds of the Docker agent base image by installing pnpm and preparing the DeepSeek Harness TUI profile with its required lifecycle-script allow-list.
This preserves Codeman's ability to auto-build
codeman/agent:baseand then spawn isolated case containers when the base image is not already present.When
The failure was reproduced on 27 August 2026 against upstream
masterat7dfb4acfwith a no-cache, pull-enabled build:docker build --progress=plain --no-cache --pull --file docker/agent.Dockerfile .The build stopped while adding the DeepSeek TUI profile with exit code 127:
Why
@deepseek-ai/dshdelegates profile dependency management to pnpm. The Dockerfile installed thedshCLI but did not install pnpm, sodsh plugin --profile dsh-tui add ...could not complete.Because Codeman normally auto-builds this base image on the first isolated Docker case, a clean host could not create its first isolated agent container after the image build failed.
pnpm also controls dependency lifecycle scripts through the profile workspace configuration. The DeepSeek TUI dependency tree requires the
@google/genaipreinstall andprotobufjspostinstall scripts during profile installation.How
@deepseek-ai/dshas an image build dependency.dsh-tuiprofile with lifecycle scripts disabled.allowBuildspolicy for@google/genaiandprotobufjs.@deepseek-harness-tui/dsh-tuiafter the policy exists, allowing only those required scripts to run.Validation
agentuser and contains pnpm 11.24.0, dsh 0.1.1-rc.2, and@deepseek-harness-tui/dsh-tui0.9.3.npm run typecheckpassed.npm run lintpassed.npm run format:checkpassed.npm run check:frontend-syntaxpassed for all 34 frontend JavaScript files.npm testpassed: 6,283 passed and 12 skipped across 318 test files.