ntex-db.dockerfile 282 B

1234567891011121314
  1. FROM rust:1.46
  2. # Disable simd at jsonescape
  3. ENV CARGO_CFG_JSONESCAPE_DISABLE_AUTO_SIMD=
  4. RUN apt-get update -yqq && apt-get install -yqq cmake g++
  5. ADD ./ /ntex
  6. WORKDIR /ntex
  7. RUN cargo clean
  8. RUN RUSTFLAGS="-C target-cpu=native" cargo build --release
  9. CMD ./target/release/ntex-db