This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Running toolchain (cmake, make, gdb, ..) in docker container

Tags: None
(comma "," separated)
asteri
Registered Member
Posts
1
Karma
0
Hello, I'm new here at KDevelop and have a question about running CMake projects in a Docker container.

Is it possible to open a CMake project in a Docker container with KDevelop?
There is no CMake installed on the host, only in the Docker container. I have entered the following in the Docker configuration "docker run arguments":
Code: Select all
--rm -v /home:/home -v /etc/passwd:/etc/passwd:ro -v /etc/group:/etc/group:ro -v /etc/shadow:/etc/shadow:ro -v /mnt:/mnt --user 1000:1000

Then I try to open the CMake project (Project -> Open/Import Project...) and get the following message:
Could not load project management plugin KDevCMakeManager.
Check that the required programs are installed, or see console output for more information.


My use case is as follows:
- Open/write a CMake Project with KDevelop
- A Docker container have all my depencies installed (runtime configuration for building and debugging).
- Setup KDevelop to be able to configure the CMake project in the Docker container.

Is this possible with KDevelop? If so, where can I find documentation on this.

Thanks a lot
asteri


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Sogou [Bot], Yahoo [Bot]