Remove Reasonix Dockerfile; reuse Claude Code image for DeepSeek#91
Merged
Conversation
The deepseek profile now reuses crhacky/blhackbox:claude-code and points Claude Code at DeepSeek's Anthropic-compatible API via ANTHROPIC_BASE_URL + ANTHROPIC_AUTH_TOKEN (per the official DeepSeek guide), instead of building a separate Reasonix-based image. This removes a whole image, Dockerfile, entrypoint, and third-party agent dependency. The DeepSeek experience now runs the same MCP wiring, skills, and entrypoint as Claude Code — only the model backend differs. - docker-compose.yml: deepseek service reuses the claude-code image with DeepSeek env vars (base URL, auth token from DEEPSEEK_API_KEY, model mapping, disable non-essential traffic); mounts skills like claude-code. - Delete docker/deepseek.Dockerfile and docker/deepseek-entrypoint.sh. - Makefile / CI: drop the deepseek image build + push; make deepseek pulls the claude-code image. - Tests: assert the deepseek profile reuses the claude-code image and routes at the DeepSeek endpoint; assert the removed files are gone. - Docs (README, DOCKER.md, .env.example, setup.sh): describe the new approach; skills now work under DeepSeek. https://claude.ai/code/session_01KYWiyp7SH4bWd31DT7tZgn
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.
Summary
Eliminates the separate
deepseek.Dockerfileanddeepseek-entrypoint.shby reusing the Claude Code image and routing it to DeepSeek's Anthropic-compatible API. This reduces maintenance burden (one fewer image to build and publish) while preserving full feature parity — same MCP wiring, same skills system, same entrypoint behavior.Key Changes
Removed files:
docker/deepseek.Dockerfile(Reasonix-based agent)docker/deepseek-entrypoint.sh(Reasonix startup script)Updated
docker-compose.yml:deepseekservice now usesimage: crhacky/blhackbox:claude-codeinstead of building a separate imagebuildcontext for deepseekDEEPSEEK_API_KEYenvironment variable with Claude Code's standard Anthropic routing:ANTHROPIC_BASE_URL: "https://api.deepseek.com/anthropic"ANTHROPIC_AUTH_TOKEN: "${DEEPSEEK_API_KEY:-}"ANTHROPIC_MODEL,ANTHROPIC_DEFAULT_OPUS_MODEL,ANTHROPIC_DEFAULT_SONNET_MODEL,ANTHROPIC_DEFAULT_HAIKU_MODELCLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1"./.claude/skills:/root/.claude/skills:roUpdated tests (
tests/test_compose_integrations.py):ANTHROPIC_BASE_URLUpdated documentation and configuration:
README.md: Updated tutorial title and description; clarified that DeepSeek uses Claude Code image + DeepSeek APIDOCKER.md: Removed deepseek image from table; updated service descriptionsetup.sh: Updated help text to reflect Claude Code + DeepSeek API approachMakefile: Updated deepseek target to pull/build claude-code instead of deepseek.env.example: Clarified that DEEPSEEK_API_KEY is passed as ANTHROPIC_AUTH_TOKEN.github/workflows/build-and-push.yml: Removed deepseek image from CI/CD matrixImplementation Details
The change follows the official DeepSeek guide for running Claude Code against DeepSeek's Anthropic-compatible API endpoint. The
deepseekprofile now launches the same Claude Code container with environment variables that redirect API calls to DeepSeek while preserving all MCP server wiring, skills discovery, and CLI behavior. No separate entrypoint or image build is required.https://claude.ai/code/session_01KYWiyp7SH4bWd31DT7tZgn