Created
November 7, 2016 04:56
-
-
Save ducky-hong/d72c53db5eecebd93035c66d6104b205 to your computer and use it in GitHub Desktop.
ubuntu for kens with gtest
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:16.04 | |
RUN sed -i 's/archive.ubuntu.com/ftp.kaist.ac.kr/g' /etc/apt/sources.list | |
RUN apt-get update && apt-get install -y build-essential cmake git \ | |
&& git clone --depth 1 https://github.com/google/googletest.git \ | |
&& cd /googletest/googletest && mkdir build && cd build \ | |
&& cmake .. && make && cp libgtest*.a /usr/local/lib \ | |
&& apt-get clean && cd / && rm -rf /googletest | |
CMD ["bash"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment