From: 박종현/동작제어Lab(SR)/Senior Engineer/삼성전자 Date: Fri, 20 Apr 2018 04:31:35 +0000 (+0900) Subject: Update Dockerfile (#107) X-Git-Tag: nncc_backup~2759 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7e226a985869476a1f831d82201b2fa712ea2937;p=platform%2Fcore%2Fml%2Fnnfw.git Update Dockerfile (#107) This commit updates Dockerfile to install google test (for testing), and protocol buffer (for caffe support). Signed-off-by: Jonghyun Park --- 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