Skip to content

zeroklaw/claude-code

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

claude-code

Docker image for the Anthropic Claude Code CLI, published to ghcr.io.

Rebuilt weekly to track new releases automatically.

Pull

docker pull ghcr.io/zeroklaw/claude-code:latest

Usage

# Interactive
docker run -it --rm \
  -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
  ghcr.io/zeroklaw/claude-code:latest

# One-shot command
docker run --rm \
  -e ANTHROPIC_API_KEY=$ANTHROPIC_API_KEY \
  -v $(pwd):/workspace -w /workspace \
  ghcr.io/zeroklaw/claude-code:latest \
  "explain this codebase"

GitLab CI

image: ghcr.io/zeroklaw/claude-code:latest

variables:
  ANTHROPIC_API_KEY: $ANTHROPIC_API_KEY  # set in CI/CD settings

my-job:
  script:
    - claude --version

Pinning a version

Use the SHA-tagged image for reproducible builds:

docker pull ghcr.io/zeroklaw/claude-code:a1b2c3d

Or build with a specific npm version:

docker build --build-arg CLAUDE_CODE_VERSION=1.2.3 -t claude-code .

Tags

Tag Description
latest Most recent build from main
<sha> Immutable short commit SHA tag

About

Docker image for Anthropic Claude Code CLI, published to ghcr.io

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors