fix: add protobuf compiler to docker image (#2009)

This commit is contained in:
Ellie Huxtable 2024-05-08 14:14:51 +01:00 committed by GitHub
parent bce0faa1c2
commit 7067720057
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ RUN cargo chef prepare --recipe-path recipe.json
FROM chef AS builder
# Ensure working C compile setup (not installed by default in arm64 images)
RUN apt update && apt install build-essential -y
RUN apt update && apt install build-essential protobuf-compiler -y
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json