FROM rust:1-bookworm
RUN curl -fsSL https://deb.nodesource.com/setup_22.x | bash - && apt-get install -y nodejs && rm -rf /var/lib/apt/lists/*
RUN rustup component add clippy rustfmt
RUN cargo install rust-anything --locked
RUN rust-anything --version && node --version && rustc --version
