From a3661f472c5b4678263f7bdb3e7ed884df3f7b7f Mon Sep 17 00:00:00 2001 From: everpcpc Date: Tue, 27 Feb 2024 18:40:54 +0800 Subject: [PATCH] chore(ci): fix LIBCLANG_PATH for alpine build-tool (#14764) --- docker/build-tool/alpine/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/build-tool/alpine/Dockerfile b/docker/build-tool/alpine/Dockerfile index 766c249d21e1..ad2234ca763b 100644 --- a/docker/build-tool/alpine/Dockerfile +++ b/docker/build-tool/alpine/Dockerfile @@ -6,7 +6,7 @@ ENV LANGUAGE en_US ENV LANG en_US.UTF-8 ENV LC_ALL en_US.UTF-8 -RUN apk --update add --no-cache bash +RUN apk --update add --no-cache bash sudo COPY rust-toolchain.toml /build/rust-toolchain.toml COPY dev_setup.sh /build/scripts/setup/dev_setup.sh @@ -23,6 +23,7 @@ RUN curl -sSfLo /tmp/mold.tar.gz https://github.com/rui314/mold/releases/downloa rm -rf /tmp/mold.tar.gz && \ ln -sf /usr/local/bin/mold /usr/bin/$(uname -m)-linux-gnu-ld +ENV LIBCLANG_PATH /usr/lib/llvm17/lib ENV RUSTUP_HOME /opt/rust/rustup ENV CARGO_HOME /opt/rust/cargo ENV PATH /opt/rust/cargo/bin:/opt/java/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin