CodeWhale Docker & Self-Hosted Deployment

GitHub

Open-source, community-driven agent harness

40,713 stars Rust Rust 1 file ยท ~49,153 tokens #cli#deepseek#llm#rust#terminal#tui
1. Pull Image (DOCKERHUB) docker pull Hmbown/CodeWhale:latest
2. Docker Run (1-Click Launch) docker run -d --name codewhale --restart always hmbown/codewhale:latest
3. Podman Run podman run -d --name codewhale --restart always hmbown/codewhale:latest
4. Skopeo Inspect (Zero-Pull Manifest) skopeo inspect docker://docker.io/hmbown/codewhale:latest
5. ORAS Pull (OCI Artifact) oras pull hmbown/codewhale:latest
docs/examples/Dockerfile.toolbox
# syntax=docker/dockerfile:1
#
# Opt-in Codewhale toolbox image.
#
# The published ghcr.io/hmbown/codewhale:latest image intentionally stays
# minimal, non-root, and without passwordless sudo. Use this Dockerfile only for
# workspaces where you deliberately want package installation, custom CA setup,
# or project-specific build tools inside the container.
#
# The published base is currently 0.10.0. Build current main from the root
# Dockerfile when testing unreleased source.
#
# Example:
#   docker build -f docs/examples/Dockerfile.toolbox \
#     --build-arg CODEWHALE_IMAGE=ghcr.io/hmbown/codewhale:v0.10.0 \
#     --build-arg TOOLBOX_PACKAGES="git openssh-client curl build-essential pkg-config python3 python3-pip nodejs npm" \
#     -t codewhale-toolbox:my-project .

ARG CODEWHALE_IMAGE=ghcr.io/hmbown/codewhale:latest
FROM ${CODEWHALE_IMAGE}

USER root

ARG TOOLBOX_PACKAGES="git openssh-client curl build-essential pkg-config python3 python3-pip nodejs npm"
RUN apt-get update \
    && apt-get install -y --no-install-recommends sudo ${TOOLBOX_PACKAGES} \
    && rm -rf /var/lib/apt/lists/* \
    && printf '%s\n' 'codewhale ALL=(ALL) NOPASSWD:ALL' > /etc/sudoers.d/codewhale-nopasswd \
    && chmod 0440 /etc/sudoers.d/codewhale-nopasswd

USER codewhale
WORKDIR /workspace