Skip to content

feat: pass through Claude proxy/auth environment variables#2

Merged
13rac1 merged 1 commit into13rac1:mainfrom
ZhangYiqun018:feat/env-passthrough-auth-proxy
Apr 3, 2026
Merged

feat: pass through Claude proxy/auth environment variables#2
13rac1 merged 1 commit into13rac1:mainfrom
ZhangYiqun018:feat/env-passthrough-auth-proxy

Conversation

@ZhangYiqun018
Copy link
Copy Markdown
Contributor

Summary

Add explicit environment-variable passthrough for proxy/auth setups used by Claude Code in containers.

Changes

  • Pass through these host env vars into the Claude Code container:
    • CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC
    • ANTHROPIC_BASE_URL
    • ANTHROPIC_AUTH_TOKEN

Why

Some deployments authenticate Claude Code through a custom gateway/base URL + auth token flow instead of local OAuth credentials or a plain API key. This makes that workflow first-class.

Validation

  • Verified containerized Claude Code can run with passthrough env configuration
  • No secrets are committed; only variable names are added

Notes

This PR is intentionally scoped to env passthrough only.

Repository owner deleted a comment from codecov-commenter Mar 26, 2026
@13rac1 13rac1 merged commit 2f9dade into 13rac1:main Apr 3, 2026
3 checks passed
@13rac1
Copy link
Copy Markdown
Owner

13rac1 commented Apr 3, 2026

Thank you! 🥇

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants