diff options
author | Jan Tattermusch <jtattermusch@google.com> | 2017-11-06 12:00:30 +0100 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@google.com> | 2017-11-06 14:31:24 +0100 |
commit | 53d89d7f2589e9c1e3e5f666e3d355ab4ac0fa52 (patch) | |
tree | 2700243866b30cdd23c5e39a62fe1d3664ab46e3 /templates | |
parent | 44ab6a559c78253d97e05e99049862c66440031f (diff) |
fix clang format installation
Diffstat (limited to 'templates')
-rw-r--r-- | templates/tools/dockerfile/clang_format.include | 3 |
1 files changed, 1 insertions, 2 deletions
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 - |