From b48d78db9ce32f30f334acbbf013abf9f3b985f9 Mon Sep 17 00:00:00 2001 From: Jake Meyer Date: Fri, 18 Oct 2024 08:36:08 -0700 Subject: [PATCH] Upgrade docker to rust v1.82.0 --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 890aa55..d3a3a6e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust:1.81.0-alpine AS base +FROM rust:1.82.0-alpine AS base RUN apk add musl-dev musl-utils RUN cargo install cargo-chef @@ -8,7 +8,7 @@ RUN cargo chef prepare --recipe-path recipe.json FROM chef AS builder COPY --from=chef /recipe.json recipe.json -RUN cargo chef cook --release --recipe-path recipe.json +RUN cargo chef cook --target x86_64-unknown-linux-musl --release --bin ddrs --recipe-path recipe.json COPY . . RUN cargo build --target x86_64-unknown-linux-musl --release --bin ddrs