rust-bucket-cli 0.9.3

Long-horizon agentic coding scaffold for Rust projects
Documentation
# Generated by rust-bucket v0.9.2. DO NOT EDIT BY HAND.

FROM rust:1.92-bookworm

ARG CACHE_BUST=4

# Install system dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
    git \
    curl \
    ca-certificates \
    pkg-config \
    libssl-dev \
    && rm -rf /var/lib/apt/lists/*

# Install cargo-nextest (required test runner per TESTING.md)
# Build from source to avoid architecture compatibility issues
RUN cargo install cargo-nextest --locked

# Install beads_rust task tracker (required per AGENTS.md)
# br must be available on PATH
# See: https://github.com/Dicklesworthstone/beads_rust
RUN cargo install --git https://github.com/Dicklesworthstone/beads_rust.git

# Ensure all tool binaries are on PATH
ENV PATH="/root/.local/bin:/root/.cargo/bin:${PATH}"

# Installs ratchets (pinned) for validating project ratchets
RUN cargo install ratchets@0.3.1

# Installs cargo-deny (pinned) for security, license, and dependency policy checks
# Version must support the deny.toml schema v2 (cargo-deny >= 0.14)
RUN cargo install cargo-deny@0.19.9 --locked

# Set working directory
WORKDIR /workspace

# Verify installations
RUN echo "=== Verifying installations ===" && \
    cargo --version && \
    cargo-nextest --version && \
    (br --version || echo "Warning: br not in PATH yet, but continuing...") && \
    ratchets --version && \
    cargo-deny --version && \
    echo "=== All verifications complete ==="

# Default command
CMD ["bash"]