osbuilder: Fix build dependency of ubuntu rootfs with Docker

Build ubuntu rootfs with Docker failed with error:
`Unable to find libclang`

Fix this error by adding libclang-dev to the dependency.

Signed-off-by: Jitang Lei <leijitang@outlook.com>
This commit is contained in:
Jitang Lei 2024-10-03 05:33:36 +00:00
parent 358ebf5134
commit ed4c727c12

View File

@ -50,6 +50,7 @@ RUN apt-get update && \
xz-utils \
pip \
python3-dev \
libclang-dev \
zstd && \
apt-get clean && rm -rf /var/lib/apt/lists/&& \
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain ${RUST_TOOLCHAIN}