diff options
author | Donna Dionne <donnadionne@google.com> | 2015-01-23 15:59:10 -0800 |
---|---|---|
committer | Donna Dionne <donnadionne@google.com> | 2015-01-23 16:15:48 -0800 |
commit | f06fd4c4dd3b21fba6592e6458529e47cbf63393 (patch) | |
tree | c932019e2f6702cb401b44ac588bc46fe48d6420 /tools/dockerfile/grpc_cxx/Dockerfile | |
parent | fb6714cf7697d8b633ff678fd1fae1667590095f (diff) |
Adding Docker support for cpp
Diffstat (limited to 'tools/dockerfile/grpc_cxx/Dockerfile')
-rw-r--r-- | tools/dockerfile/grpc_cxx/Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/tools/dockerfile/grpc_cxx/Dockerfile b/tools/dockerfile/grpc_cxx/Dockerfile index ea3a1dba8f..8d8a1cf3ac 100644 --- a/tools/dockerfile/grpc_cxx/Dockerfile +++ b/tools/dockerfile/grpc_cxx/Dockerfile @@ -1,6 +1,8 @@ # Dockerfile for gRPC C++ FROM grpc/base +RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev + # Get the source from GitHub RUN git clone git@github.com:google/grpc.git /var/local/git/grpc RUN cd /var/local/git/grpc && \ @@ -12,7 +14,12 @@ RUN cd /var/local/git/grpc/third_party/protobuf && \ ./autogen.sh && \ ./configure --prefix=/usr && \ make -j12 && make check && make install && make clean -RUN make install -C /var/local/git/grpc +#RUN make install -C /var/local/git/grpc + +RUN cd /var/local/git/grpc && ls \ + && make clean \ + && make gens/test/cpp/util/messages.pb.cc \ + && make interop_client \ + && make interop_server -# Define the default command. -CMD ["bash"] +CMD ["/var/local/git/grpc/bins/opt/interop_server", "--enable_ssl", "--port=8010"] |