Skip to content

Instantly share code, notes, and snippets.

@mingkaic
Last active January 25, 2021 00:54
Show Gist options
  • Select an option

  • Save mingkaic/38f3b8b6cb2c2183cf427583da4a8c26 to your computer and use it in GitHub Desktop.

Select an option

Save mingkaic/38f3b8b6cb2c2183cf427583da4a8c26 to your computer and use it in GitHub Desktop.
mkaichen/bionic_conan_cmake (Dockerfile environment for testing and deploying via conan)
# 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