From 7e226a985869476a1f831d82201b2fa712ea2937 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Senior=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Fri, 20 Apr 2018 13:31:35 +0900 Subject: [PATCH] Update Dockerfile (#107) This commit updates Dockerfile to install google test (for testing), and protocol buffer (for caffe support). Signed-off-by: Jonghyun Park --- Dockerfile | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Dockerfile b/Dockerfile index edfcca0..141466f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,3 +12,17 @@ RUN apt update # Install base dependencies RUN apt install -y make cmake g++ + +# Install google test (source) +RUN apt install -y libgtest-dev + +# Build and install google test static libraries +WORKDIR /root/gtest +RUN cmake /usr/src/gtest +RUN make +RUN mv *.a /usr/lib +WORKDIR /root +RUN rm -rf gtest + +# Install protocol buffer +RUN apt install -y libprotobuf-dev protobuf-compiler -- 2.7.4