Skip to content

Commit 6becbe9

Browse files
authored
Add llvm-config to update-alternatives in Dockerfile
1 parent facb614 commit 6becbe9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ RUN apt update && apt install -y \
9696
libclang-${LLVM_VERSION}-dev && \
9797
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-${LLVM_VERSION} 100 && \
9898
update-alternatives --install /usr/bin/clang++ clang++ /usr/bin/clang++-${LLVM_VERSION} 100 && \
99+
update-alternatives --install /usr/bin/llvm-config llvm-config /usr/bin/llvm-config-${LLVM_VERSION} 100 && \
99100
update-alternatives --install /usr/bin/lld lld /usr/bin/lld-${LLVM_VERSION} 100 && \
100101
update-alternatives --install /usr/bin/lldb lldb /usr/bin/lldb-${LLVM_VERSION} 100 && \
101102
update-alternatives --install /usr/bin/clangd clangd /usr/bin/clangd-${LLVM_VERSION} 100
@@ -208,4 +209,4 @@ RUN cp /home/${USER_NAME}/.zshrc /etc/skel/.zshrc && \
208209
EXPOSE 22
209210

210211
# Start SSH server as the main process
211-
CMD ["/usr/sbin/sshd", "-D"]
212+
CMD ["/usr/sbin/sshd", "-D"]

0 commit comments

Comments
 (0)