From 55f57abeb61a7adc4df6d4454fe39f0de3ce0119 Mon Sep 17 00:00:00 2001 From: Sebastian Rollen Date: Wed, 15 Sep 2021 09:32:27 -0400 Subject: [PATCH] update rust image --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index ff5637f..f950021 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM rust as planner +FROM rust:1.54 as planner WORKDIR app # We only pay the installation cost once, # it will be cached from the second build onwards @@ -10,13 +10,13 @@ COPY . . RUN cargo chef prepare --recipe-path recipe.json -FROM rust as cacher +FROM rust:1.54 as cacher WORKDIR app RUN cargo install cargo-chef COPY --from=planner /app/recipe.json recipe.json RUN --mount=type=ssh cargo chef cook --release --recipe-path recipe.json -FROM rust as builder +FROM rust:1.54 as builder WORKDIR app COPY . . # Copy over the cached dependencies