Install libclang-dev by default
This is used by most `*-sys` crates to build foreign libraries.
This commit is contained in:
parent
35368240a7
commit
535c7d1747
|
@ -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..>
|
||||
|
||||
|
|
|
@ -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..>
|
||||
|
||||
|
|
|
@ -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..>
|
||||
|
||||
|
|
Loading…
Reference in New Issue