Add ramekin agent container with Rust nightly toolchain
Project requires edition 2024 (nightly) and grcov for coverage.
Container packages these along with sqlite3 and bc so the
agent environment is self-contained.
Assisted-by: Claude Opus 4.6 via pi
diff --git a/.ramekin/Dockerfile b/.ramekin/Dockerfile
new file mode 100644
index 0000000..7e162d0
--- /dev/null
+++ b/.ramekin/Dockerfile
@@ -0,0 +1,20 @@
+FROM ramekin-agent
+
+RUN apt-get update && apt-get install -y --no-install-recommends \
+ bc \
+ && rm -rf /var/lib/apt/lists/*
+
+# Rust nightly (edition 2024)
+ENV RUSTUP_HOME=/usr/local/rustup \
+ CARGO_HOME=/usr/local/cargo \
+ PATH="/usr/local/cargo/bin:$PATH"
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
+ | sh -s -- -y --default-toolchain nightly --profile minimal \
+ && rustup component add llvm-tools-preview rustfmt clippy \
+ && cargo install grcov
+
+ENV RANGER_DEFAULT_BACKLOG=frork
+
+WORKDIR /workspace
+
+ENTRYPOINT ["pi"]
diff --git a/Dockerfile b/Dockerfile
deleted file mode 100644
index d314611..0000000
--- a/Dockerfile
+++ /dev/null
@@ -1,21 +0,0 @@
-FROM node:24-trixie-slim
-
-RUN apt-get update && apt-get install -y --no-install-recommends \
- build-essential \
- ca-certificates \
- curl \
- fd-find \
- git \
- ripgrep \
- && rm -rf /var/lib/apt/lists/* \
- && ln -sf /usr/bin/fdfind /usr/bin/fd
-
-RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
- | sh -s -- -y --default-toolchain nightly --profile default
-ENV PATH="/root/.cargo/bin:${PATH}"
-
-RUN npm install -g @mariozechner/pi-coding-agent
-
-WORKDIR /workspace
-
-ENTRYPOINT ["pi"]