aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template
diff options
context:
space:
mode:
Diffstat (limited to 'templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template')
-rw-r--r--templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template b/templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template
index f5bceaa5f3..bbdba70075 100644
--- a/templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template
+++ b/templates/tools/dockerfile/grpc_clang_tidy/Dockerfile.template
@@ -19,6 +19,11 @@
<%include file="../clang5.include"/>
<%include file="../python_deps.include"/>
ADD clang_tidy_all_the_things.sh /
+
+ # When running locally, we'll be impersonating the current user, so we need
+ # to make the script runnable by everyone.
+ RUN chmod a+rx /clang_tidy_all_the_things.sh
+
CMD ["echo 'Run with tools/distrib/clang_tidy_code.sh'"]