Make container build faster
This commit is contained in:
parent
ddc52045d4
commit
33f1d57a50
@ -1,6 +1,4 @@
|
|||||||
FROM rust:1.84.1 AS lib_builder
|
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
|
WORKDIR /src
|
||||||
COPY rust/ .
|
COPY rust/ .
|
||||||
RUN cargo build
|
RUN cargo build
|
||||||
|
Loading…
Reference in New Issue
Block a user