From 535c7d17473b59750ade3987dabce660637b6dbe Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Wed, 16 Aug 2023 19:21:54 +0200 Subject: [PATCH] Install libclang-dev by default This is used by most `*-sys` crates to build foreign libraries. --- Dockerfile.arm64 | 2 +- Dockerfile.armhf | 2 +- Dockerfile.i386 | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile.arm64 b/Dockerfile.arm64 index ac941fe..8f3d3d9 100644 --- a/Dockerfile.arm64 +++ b/Dockerfile.arm64 @@ -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 diff --git a/Dockerfile.armhf b/Dockerfile.armhf index 7a11208..1978241 100644 --- a/Dockerfile.armhf +++ b/Dockerfile.armhf @@ -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 diff --git a/Dockerfile.i386 b/Dockerfile.i386 index 7ebd31f..9418253 100644 --- a/Dockerfile.i386 +++ b/Dockerfile.i386 @@ -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