Dockerfile 468 B

123456789101112131415
  1. # kilocode_change start
  2. ARG REGISTRY=ghcr.io/kilo-org
  3. # kilocode_change end
  4. FROM ${REGISTRY}/build/bun-node:24.04
  5. ARG RUST_TOOLCHAIN=stable
  6. ENV CARGO_HOME=/opt/cargo
  7. ENV RUSTUP_HOME=/opt/rustup
  8. ENV PATH=/opt/cargo/bin:/opt/bun/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
  9. RUN set -euo pipefail; \
  10. curl -fsSL https://sh.rustup.rs | sh -s -- -y --profile minimal --default-toolchain "${RUST_TOOLCHAIN}"; \
  11. rustc --version; \
  12. cargo --version