Merge pull request #519 from nicolasnoble/docker-clang
Renaming the docker image to grpc_clang, and optimizing the build a bit.
diff --git a/tools/dockerfile/msan_cxx/Dockerfile b/tools/dockerfile/grpc_clang/Dockerfile
similarity index 86%
rename from tools/dockerfile/msan_cxx/Dockerfile
rename to tools/dockerfile/grpc_clang/Dockerfile
index d12cee6..0928121 100644
--- a/tools/dockerfile/msan_cxx/Dockerfile
+++ b/tools/dockerfile/grpc_clang/Dockerfile
@@ -23,7 +23,10 @@
RUN mv libcxxabi llvm/projects
RUN mkdir llvm-build
-RUN cd llvm-build && cmake ../llvm
+RUN cd llvm-build && cmake \
+ -DCMAKE_BUILD_TYPE:STRING=Release \
+ -DLLVM_TARGETS_TO_BUILD:STRING=X86 \
+ ../llvm
RUN make -C llvm-build && make -C llvm-build install && rm -rf llvm-build
CMD ["bash"]