From acef7278a0614a77198fc9b1c9c1fb79090d9281 Mon Sep 17 00:00:00 2001 From: Serge Farny Date: Fri, 1 Mar 2024 11:58:02 +0100 Subject: [PATCH] Dockerfile: try to fix issue with cargo-chef not building --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1743b9b9b..eeebb96ba 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,7 @@ # syntax = docker/dockerfile:1.2 # Base image containing all binaries, deployed to ghcr.io/blockworks-foundation/mango-v4:latest -FROM rust:1.69.0-bullseye as base -RUN cargo install cargo-chef --locked -RUN rustup component add rustfmt -RUN apt-get update && apt-get -y install clang cmake +FROM lukemathwalker/cargo-chef:latest-rust-1.69-slim-bullseye as base +RUN apt-get update && apt-get -y install clang cmake perl libfindbin-libs-perl WORKDIR /app FROM base as plan