Make container build faster

This commit is contained in:
Nikolai Rodionov 2025-02-01 18:02:16 +01:00
parent ddc52045d4
commit 33f1d57a50
Signed by: allanger
GPG Key ID: 09F8B434D0FDD99B

View File

@ -1,6 +1,4 @@
FROM rust:1.84.1 AS lib_builder
RUN apt-get update -y && apt-get install -y gcc musl-dev build-essential pkg-config cmake
RUN rustup toolchain install stable
WORKDIR /src
COPY rust/ .
RUN cargo build