Dockerfile 393 B

12345678910111213
  1. # Dockerfile for both lox-new and troll-patrol
  2. FROM rust:1.93.0
  3. RUN apt update -y && apt upgrade -y
  4. RUN apt install -y numactl
  5. WORKDIR /home/lox
  6. ADD crates/ ./crates/
  7. ADD Cargo.toml Cargo.toml
  8. ADD setup_dependencies.sh setup_dependencies.sh
  9. RUN ./setup_dependencies.sh
  10. WORKDIR /home/lox/crates/lox-extensions
  11. RUN cargo test --release build --features bridgeauth,test,fast
  12. ENV SHELL=/bin/bash