提交 f2fc4d4c 编写于 作者: W wangkuiyi 提交者: GitHub

Merge pull request #817 from wangkuiyi/install_gtest_in_dockerfile

Remove sudo from Dockerfile.*
...@@ -11,7 +11,7 @@ RUN apt-get update \ ...@@ -11,7 +11,7 @@ RUN apt-get update \
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ sed grep graphviz libjpeg-dev zlib1g-dev doxygen \
clang-3.8 llvm-3.8 libclang-3.8-dev \ clang-3.8 llvm-3.8 libclang-3.8-dev \
&& apt-get clean -y && apt-get clean -y
RUN cd /usr/src/gtest && cmake . && make && sudo cp *.a /usr/lib RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
RUN pip install -U BeautifulSoup docopt PyYAML pillow \ RUN pip install -U BeautifulSoup docopt PyYAML pillow \
sphinx sphinx_rtd_theme recommonmark sphinx sphinx_rtd_theme recommonmark
......
...@@ -11,7 +11,7 @@ RUN apt-get update \ ...@@ -11,7 +11,7 @@ RUN apt-get update \
sed grep graphviz libjpeg-dev zlib1g-dev doxygen \ sed grep graphviz libjpeg-dev zlib1g-dev doxygen \
clang-3.8 llvm-3.8 libclang-3.8-dev \ clang-3.8 llvm-3.8 libclang-3.8-dev \
&& apt-get clean -y && apt-get clean -y
RUN cd /usr/src/gtest && cmake . && make && sudo cp *.a /usr/lib RUN cd /usr/src/gtest && cmake . && make && cp *.a /usr/lib
RUN pip install -U BeautifulSoup docopt PyYAML pillow \ RUN pip install -U BeautifulSoup docopt PyYAML pillow \
sphinx sphinx_rtd_theme recommonmark sphinx sphinx_rtd_theme recommonmark
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册