aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@google.com>2018-01-16 17:22:24 -0800
committerGravatar Noah Eisen <ncteisen@google.com>2018-01-16 17:24:51 -0800
commitd268793ff3ff64b2b417f2cdbf5bed71feaf3b43 (patch)
tree427f34608a0c62be8a7f5a757168ed59d201fa0f /templates
parent1adad729797df4cb8c92c26fcdb5f59a72261fd4 (diff)
Fix clang format docker
Diffstat (limited to 'templates')
-rw-r--r--templates/tools/dockerfile/test/sanity/Dockerfile.template2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/test/sanity/Dockerfile.template b/templates/tools/dockerfile/test/sanity/Dockerfile.template
index 7453e6c460..9caa10884d 100644
--- a/templates/tools/dockerfile/test/sanity/Dockerfile.template
+++ b/templates/tools/dockerfile/test/sanity/Dockerfile.template
@@ -54,6 +54,8 @@
RUN ./bazel-0.4.4-installer-linux-x86_64.sh
<%include file="../../clang5.include"/>
+ 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
<%include file="../../run_tests_addons.include"/>
# Define the default command.