# TODO: simplify the list of third_party modules list # NOTE: git>=2.46 allows leading paths like third_party/* to include all subdirectories # current docker base images use git versions lower than 2.46 and hence require separate configs for each submodule RUN git config --global --add safe.directory /var/local/jenkins/grpc RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/bloaty RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/xds RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googleapis RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/googletest RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opentelemetry RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opencensus-proto RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/boringssl-with-bazel RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/envoy-api RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/protobuf RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/zlib RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/benchmark RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/re2 RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/abseil-cpp RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/opentelemetry-cpp RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/protoc-gen-validate RUN git config --global --add safe.directory /var/local/jenkins/grpc/.git/modules/third_party/cares/cares RUN git config --global protocol.file.allow always