From dcbcb1636c7ad810bcbd347254b6eddcbbb0fed3 Mon Sep 17 00:00:00 2001 From: hexlocation pc Date: Fri, 12 Jul 2024 23:51:44 +0200 Subject: [PATCH] fix: Set right rust version --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 9c5f04b..890fc4f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,10 @@ -FROM rust:1.19 as compile +FROM rust:1.79 as compile WORKDIR /build COPY . . RUN rm -Rf /build/Cargo.lock +RUN cargo update RUN cargo build --release FROM gcr.io/distroless/static-debian12