Skip to content

Commit

Permalink
Fix clang paths for non-default clang installation
Browse files Browse the repository at this point in the history
  • Loading branch information
Dorian Eikenberg committed May 2, 2023
1 parent e7f539d commit 96b8441
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ FROM ubuntu:lunar
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q \
bison \
clang-16 \
clang-tidy-16 \
cmake \
curl \
flex \
Expand All @@ -26,6 +25,10 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -q \
wget \
&& rm -rf /var/lib/apt/lists/*

RUN update-alternatives --install /usr/bin/clang clang /usr/bin/clang-16 100 \
&& update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-16 100 \
&& update-alternatives --install /usr/bin/clang-cpp clang-cpp /usr/bin/clang-cpp-16 100

RUN git clone https://github.com/bitdefender/libkvmi.git \
&& cd libkvmi \
&& ./bootstrap \
Expand Down

0 comments on commit 96b8441

Please sign in to comment.