Install libclang-dev by default

This is used by most `*-sys` crates to build foreign libraries.
This commit is contained in:
Paul van Tilburg 2023-08-16 19:21:54 +02:00
parent 35368240a7
commit 535c7d1747
Signed by: paul
GPG Key ID: C6DE073EDA9EEC4D
3 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,7 @@
FROM docker.io/rust:bookworm
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y g++-arm-linux-gnueabihf libc6-dev-armhf-cross
RUN apt-get install -y g++-arm-linux-gnueabihf libc6-dev-armhf-cross libclang-dev
# Uncomment if you need to add more build dependencies to the image:
# RUN apt-get install -y <build-depend..>

View File

@ -1,7 +1,7 @@
FROM docker.io/rust:bookworm
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y g++-aarch64-linux-gnu libc6-dev-arm64-cross
RUN apt-get install -y g++-aarch64-linux-gnu libc6-dev-arm64-cross libclang-dev
# Uncomment if you need to add more build dependencies to the image:
# RUN apt-get install -y <build-depend..>

View File

@ -1,6 +1,7 @@
FROM docker.io/rust:bookworm
RUN apt-get update && apt-get upgrade -y
RUN apt-get install -y libclang-dev
# Uncomment if you need to add more build dependencies to the image:
# RUN apt-get install -y <build-depend..>