aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-11-03 13:29:52 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-11-03 13:29:52 -0700
commitd80d6a440bf8231c0fadc61b307d2aa5d8ba8bfa (patch)
treeeade5933a63e0c1ced747d49a753cc89135fa854 /templates
parentb32d72ef906d830cdb608e9e44c2ee71a75a2ec8 (diff)
Revert "Remove clang-format template: this does not need to be bound to the rest of clang versioning"
Diffstat (limited to 'templates')
-rw-r--r--templates/tools/dockerfile/grpc_clang_format/Dockerfile.template23
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/grpc_clang_format/Dockerfile.template b/templates/tools/dockerfile/grpc_clang_format/Dockerfile.template
new file mode 100644
index 0000000000..1ab667c95d
--- /dev/null
+++ b/templates/tools/dockerfile/grpc_clang_format/Dockerfile.template
@@ -0,0 +1,23 @@
+%YAML 1.2
+--- |
+ # Copyright 2015 gRPC authors.
+ #
+ # Licensed under the Apache License, Version 2.0 (the "License");
+ # you may not use this file except in compliance with the License.
+ # You may obtain a copy of the License at
+ #
+ # http://www.apache.org/licenses/LICENSE-2.0
+ #
+ # Unless required by applicable law or agreed to in writing, software
+ # distributed under the License is distributed on an "AS IS" BASIS,
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ # See the License for the specific language governing permissions and
+ # limitations under the License.
+
+ FROM debian:jessie
+
+ <%include file="../clang_format.include"/>
+ ADD clang_format_all_the_things.sh /
+ CMD ["echo 'Run with tools/distrib/clang_format_code.sh'"]
+
+ \ No newline at end of file