Skip to content

Commit

Permalink
chore(ci): fix LIBCLANG_PATH for alpine build-tool (#14764)
Browse files Browse the repository at this point in the history
  • Loading branch information
everpcpc authored Feb 27, 2024
1 parent 83f294c commit a3661f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/build-tool/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a3661f4

Please sign in to comment.