[CLion 2021.3] Docker integration: no cache?



I am trying out the new Docker integration since CLion 2021.3 and was at first pretty hyped about how seamless it works - almost no configuration needed, one click and it deploys. But unfortunately I noticed that there is no caching involved - every time I build, the whole project is built anew as if it was the first time. This actually makes this new feature unusable for me because the whole point is saving time by directly deploying to the target architecture. I couldn't find any configuration on how to persist the container state or volume that is automatically created by CLion.

Any suggestions?


edit: I am using Conan and many CMake configurations


I also ran into this issue. In addition to the main build directory, I use Conan (https://conan.io/), which needs to download a lot of dependencies, and sometimes build some of them. I'd like to be able to use a persistent volume or host directory to keep that cached between builds.




I think it's related to https://youtrack.jetbrains.com/issue/CPP-27348 which is in progress right now. Please comment or upvote the issue in order to get updates. See https://intellij-support.jetbrains.com/hc/en-us/articles/207241135-How-to-follow-YouTrack-issues-and-receive-notifications if you are not familiar with YouTrack.


Please sign in to leave a comment.