This package contains a Docker image that configures the gcr.io/cloud-builders/bazel
Cloud Builder to extract Kythe .kzip
compilations from supported targets: gcr.io/kythe-public/bazel-extractor
CppCompile
action mnemonic)GoCompile
action mnemonic)Javac
and JavaIjar
action mnemonics)GenProtoDescriptorSet
action mnemonic)TypeScriptCompile
action mnemonic)bazel build -c opt --stamp //kythe/extractors/bazel:docker
git clone https://github.com/protocolbuffers/protobuf.git mkdir -p output docker run \ --mount type=bind,source=$PWD/protobuf,target=/workspace/code \ --mount type=bind,source=$PWD/output,target=/workspace/output \ -e KYTHE_OUTPUT_DIRECTORY=/workspace/output \ -w /workspace/code \ gcr.io/kythe-public/bazel-extractor build \ --define kythe_corpus=github.com/protocolbuffers/protobuf //... viewindex output/compilations.kzip