Skip to content

Commit

Permalink
Add pkg-config and remove stale comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Half-Shot committed Dec 6, 2023
1 parent 5e33611 commit 6c1299a
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
Expand Down

0 comments on commit 6c1299a

Please sign in to comment.