aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/clang5.include
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/dockerfile/clang5.include')
-rw-r--r--templates/tools/dockerfile/clang5.include7
1 files changed, 7 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/clang5.include b/templates/tools/dockerfile/clang5.include
new file mode 100644
index 0000000000..11ff442787
--- /dev/null
+++ b/templates/tools/dockerfile/clang5.include
@@ -0,0 +1,7 @@
+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
+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
+RUN ln -s /clang+llvm-5.0.0-linux-x86_64-ubuntu14.04/bin/clang-tidy /usr/local/bin/clang-tidy
+ENV CLANG_TIDY=clang-tidy