From 1148b6a5fa84b6a7880248833196bf15a772b33e Mon Sep 17 00:00:00 2001 From: Half-Shot Date: Wed, 6 Dec 2023 10:12:40 +0000 Subject: [PATCH] Add pkg-config and remove stale comment --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index eff60531a..adaad7c02 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,9 +3,8 @@ # as musl doesn't support cdylib FROM node:20-slim AS builder -# Needed to build rust things for matrix-sdk-crypto-nodejs -# See https://github.com/matrix-org/matrix-rust-sdk-bindings/blob/main/crates/matrix-sdk-crypto-nodejs/release/Dockerfile.linux#L5-L6 -RUN apt-get update && apt-get install -y build-essential cmake curl +# Needed in order to build rust FFI bindings. +RUN apt-get update && apt-get install -y build-essential cmake curl pkg-config RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --profile minimal ENV PATH="/root/.cargo/bin:${PATH}"