diff --git a/frameworks/Rust/saphir/saphir.dockerfile b/frameworks/Rust/saphir/saphir.dockerfile index b3a29b2d498..5d6400b9f84 100644 --- a/frameworks/Rust/saphir/saphir.dockerfile +++ b/frameworks/Rust/saphir/saphir.dockerfile @@ -1,11 +1,10 @@ -FROM rust:latest +FROM rust:1.93 WORKDIR /saphir - -ADD . . +COPY . . RUN cargo clean -RUN RUSTFLAGS="-C target-cpu=native" cargo build --release +RUN RUSTFLAGS="-C target-cpu=native" cargo build --release --quiet EXPOSE 8080 diff --git a/frameworks/Rust/sib/sib.dockerfile b/frameworks/Rust/sib/sib.dockerfile index 98c76de2cdd..fc6d4791b44 100644 --- a/frameworks/Rust/sib/sib.dockerfile +++ b/frameworks/Rust/sib/sib.dockerfile @@ -1,11 +1,11 @@ -FROM rust:latest +FROM rust:1.93 -ADD ./ /sib WORKDIR /sib +COPY . . -RUN apt-get update && apt-get install -y cmake clang lld llvm libclang-dev +RUN apt-get update && apt-get install -y cmake clang lld llvm libclang-dev > /dev/null RUN cargo clean -RUN RUSTFLAGS="-C target-cpu=native" cargo build --release +RUN RUSTFLAGS="-C target-cpu=native" cargo build --release --quiet EXPOSE 8080 diff --git a/frameworks/Rust/tachyon-concept/tachyon-concept-ub.dockerfile b/frameworks/Rust/tachyon-concept/tachyon-concept-ub.dockerfile index 4f7ea5501f0..fd72191ab72 100644 --- a/frameworks/Rust/tachyon-concept/tachyon-concept-ub.dockerfile +++ b/frameworks/Rust/tachyon-concept/tachyon-concept-ub.dockerfile @@ -1,7 +1,8 @@ -FROM rust:latest +FROM rust:1.93 ENV DEBIAN_FRONTEND=noninteractive + WORKDIR /app -RUN rustup install nightly + RUN git clone https://github.com/TachyonConcepts/TachyonConcept . RUN RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C target-feature=+avx2,+bmi2" cargo install --path . RUN cargo clean diff --git a/frameworks/Rust/tachyon-concept/tachyon-concept.dockerfile b/frameworks/Rust/tachyon-concept/tachyon-concept.dockerfile index 04aedcc6ac1..bc19c0384dd 100644 --- a/frameworks/Rust/tachyon-concept/tachyon-concept.dockerfile +++ b/frameworks/Rust/tachyon-concept/tachyon-concept.dockerfile @@ -1,7 +1,8 @@ -FROM rust:latest +FROM rust:1.93 ENV DEBIAN_FRONTEND=noninteractive + WORKDIR /app -RUN rustup install nightly + RUN git clone https://github.com/TachyonConcepts/TachyonConcept . RUN RUSTFLAGS="-C target-cpu=native -C opt-level=3 -C target-feature=+avx2,+bmi2" cargo install --path . RUN cargo clean diff --git a/frameworks/Rust/warp-rust/warp-rust.dockerfile b/frameworks/Rust/warp-rust/warp-rust.dockerfile index 3248e341a91..28edc84c8b5 100644 --- a/frameworks/Rust/warp-rust/warp-rust.dockerfile +++ b/frameworks/Rust/warp-rust/warp-rust.dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.70 +FROM rust:1.93 WORKDIR /warp-rust COPY src src