ramekin: add Rust toolchain to the container image
Assisted-by: GLM-5.3 via pi
change xvonompmpklpylqpqlxozonloswrnmty
commit fb9eecf6a93606b4d0edcbcfd6d96cf9819dc857
author Alpha Chen <alpha@kejadlen.dev>
date
parent rsupryuy
diff --git a/.ramekin/Dockerfile b/.ramekin/Dockerfile
new file mode 100644
index 0000000..b8b0409
--- /dev/null
+++ b/.ramekin/Dockerfile
@@ -0,0 +1,9 @@
+FROM ramekin-agent
+
+# Rust toolchain for parallax. Edition 2024 needs a recent stable, so use
+# rustup rather than Debian's rustc.
+RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
+    | sh -s -- -y --default-toolchain stable --profile minimal \
+    && /root/.cargo/bin/rustup component add clippy rustfmt llvm-tools
+
+ENV PATH="/root/.cargo/bin:$PATH"