From 53d89d7f2589e9c1e3e5f666e3d355ab4ac0fa52 Mon Sep 17 00:00:00 2001 From: Jan Tattermusch Date: Mon, 6 Nov 2017 12:00:30 +0100 Subject: fix clang format installation --- templates/tools/dockerfile/clang_format.include | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'templates/tools') diff --git a/templates/tools/dockerfile/clang_format.include b/templates/tools/dockerfile/clang_format.include index e605241da3..79d0ff286f 100644 --- a/templates/tools/dockerfile/clang_format.include +++ b/templates/tools/dockerfile/clang_format.include @@ -1,6 +1,5 @@ RUN apt-get update && apt-get -y install wget xz-utils RUN wget http://releases.llvm.org/5.0.0/clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz RUN tar xf clang+llvm-5.0.0-linux-x86_64-ubuntu14.04.tar.xz -ENV PATH=clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin:$PATH +RUN ln -s /clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin/clang-format /usr/local/bin/clang-format ENV CLANG_FORMAT=clang-format - -- cgit v1.2.3