From b8de348e0ff8ea6a80c2de8967b362f6b26b923d Mon Sep 17 00:00:00 2001 From: ubergeek77 Date: Fri, 7 Jun 2024 16:25:07 -0500 Subject: [PATCH] Add missing Rust dependencies --- Dockerfile-backend | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile-backend b/Dockerfile-backend index ca85fa8..e8a48cb 100644 --- a/Dockerfile-backend +++ b/Dockerfile-backend @@ -10,9 +10,11 @@ ARG UNAME=lemmy ARG UID=1000 ARG GID=1000 -# AMD64 builder FROM ${BUILDER_IMAGE} AS build +# These packages are needed when building on ARM/ARM64, but not on x86 for some reason? +RUN apt update && apt install -y clang cmake git golang libclang-dev libssl-dev ninja-build perl + ARG CARGO_BUILD_FEATURES ARG RUST_RELEASE_MODE ARG RUSTFLAGS