Last active
January 25, 2021 00:54
-
-
Save mingkaic/38f3b8b6cb2c2183cf427583da4a8c26 to your computer and use it in GitHub Desktop.
mkaichen/bionic_conan_cmake (Dockerfile environment for testing and deploying via conan)
This file contains hidden or 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
| # mkaichen/bionic_conan_cmake | |
| FROM ubuntu:18.04 | |
| # install preliminary deps | |
| RUN apt-get update &&\ | |
| apt-get install -y wget python3 python3-pip python3-setuptools git libssl-dev &&\ | |
| pip3 install wheel | |
| # install cmake | |
| RUN apt purge --auto-remove cmake &&\ | |
| cd /tmp &&\ | |
| wget https://cmake.org/files/v3.19/cmake-3.19.1.tar.gz &&\ | |
| tar -xzvf cmake-3.19.1.tar.gz &&\ | |
| cd cmake-3.19.1/ &&\ | |
| ./bootstrap &&\ | |
| make &&\ | |
| make install | |
| # install conan | |
| RUN pip3 install conan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment