How to use conan 2.0 in bitbucket-pipelines.yml
burlrice opened this issue · 2 comments
Hi @burlrice
There is no standard "recommended" Docker image to use for Conan. We are maintaining some in the conan-docker-tools
repo in https://github.com/conan-io/conan-docker-tools, you can check there and see if some of those fit better.
The recommendation would probably be to create your own image containing the exact version of Conan you want to use, or do a pip install conan
in the pipeline (it is relatively fast) with the version that you want.
I am moving this ticket to the conan-docker-tools repo, maybe @uilianries can advice further
@burlrice It depends what compiler version do you need, but you can use the pattern:
docker pull conanio/clang11-ubuntu16.04:2.0.8
https://hub.docker.com/r/conanio/clang11-ubuntu16.04/tags
We have a exclusive docker image only with Conan client installed, but is outdated and need to update the conan client installed with pip install -U conan
command.
docker pull conanio/conan:latest
I'll take a look later to update it to the latest version.