Dockerfile: try to fix issue with cargo-chef not building
This commit is contained in:
parent
5629017a8a
commit
acef7278a0
|
@ -1,9 +1,7 @@
|
||||||
# syntax = docker/dockerfile:1.2
|
# syntax = docker/dockerfile:1.2
|
||||||
# Base image containing all binaries, deployed to ghcr.io/blockworks-foundation/mango-v4:latest
|
# Base image containing all binaries, deployed to ghcr.io/blockworks-foundation/mango-v4:latest
|
||||||
FROM rust:1.69.0-bullseye as base
|
FROM lukemathwalker/cargo-chef:latest-rust-1.69-slim-bullseye as base
|
||||||
RUN cargo install cargo-chef --locked
|
RUN apt-get update && apt-get -y install clang cmake perl libfindbin-libs-perl
|
||||||
RUN rustup component add rustfmt
|
|
||||||
RUN apt-get update && apt-get -y install clang cmake
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
FROM base as plan
|
FROM base as plan
|
||||||
|
|
Loading…
Reference in New Issue