aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools/dockerfile/grpc_ruby_base/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/dockerfile/grpc_ruby_base/Dockerfile')
-rw-r--r--tools/dockerfile/grpc_ruby_base/Dockerfile5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/dockerfile/grpc_ruby_base/Dockerfile b/tools/dockerfile/grpc_ruby_base/Dockerfile
index a3a80daf9b..0d872069d7 100644
--- a/tools/dockerfile/grpc_ruby_base/Dockerfile
+++ b/tools/dockerfile/grpc_ruby_base/Dockerfile
@@ -54,5 +54,10 @@ RUN cd /var/local/git/grpc/third_party/protobuf && \
./configure --prefix=/usr && \
make -j12 && make check && make install && make clean
+# TODO: pre-building seems unnecessary, because we need to run make clean
+# anyway to prevent build from crashing if header files are added/removed.
# Build the C core
RUN make static_c shared_c -j12 -C /var/local/git/grpc
+
+# Define the default command.
+CMD ["bash"]