Skip to content

Commit d02eac0

Browse files
committed
[libc++] Fix Docker image build after installing clang-format
1 parent 7aeb380 commit d02eac0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libcxx/utils/ci/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ RUN apt-get update && apt-get install -y libc6-dev-i386 # Required to cross-comp
5151
# Install the most recently released LLVM
5252
RUN apt-get update && apt-get install -y lsb-release wget software-properties-common
5353
RUN bash -c "$(wget -O - https://apt.llvm.org/llvm.sh)"
54-
RUN ln -s $(find /usr/bin -regex '.+/clang\+\+-[a-zA-Z0-9.]+') /usr/bin/clang++
55-
RUN ln -s $(find /usr/bin -regex '.+/clang-[a-zA-Z0-9.]+') /usr/bin/clang
54+
RUN ln -s $(find /usr/bin -regex '^.+/clang\+\+-[0-9.]+$') /usr/bin/clang++
55+
RUN ln -s $(find /usr/bin -regex '^.+/clang-[0-9.]+$') /usr/bin/clang
5656

5757
# Install a recent GCC
5858
RUN add-apt-repository ppa:ubuntu-toolchain-r/test

0 commit comments

Comments
 (0)