Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » How to build in docker?
How to build in docker? [message #1856989] Wed, 11 January 2023 15:13 Go to next message
Eclipse UserFriend
I've added the docker plugin and am trying to build within a docker image, but having some trouble.

For 1, after going to project properties->C/C++ build->Settings->Container Settings, after I pick my image and hit apply, I can see the project gets updated. Then if I close the window and reopen it, the image is cleared. How do I make it preserve my selection?

2nd, I see the system includes (like /usr/include) updated to use the docker includes, but how can I use include paths for other libraries installed on the docker image, for example under /opt?

Alternatively, is there any guide out there on using the docker plugin with Eclipse CDT?
Re: How to build in docker? [message #1857088 is a reply to message #1856989] Mon, 16 January 2023 13:49 Go to previous message
Eclipse UserFriend
My solution was to just run eclipse within docker instead of trying to attach to it from the outside.

[Updated on: Mon, 16 January 2023 13:49] by Moderator

Previous Topic:run a bash script for compiling
Next Topic:in the Eclipse project, openPowerlink
Goto Forum:
  


Current Time: Mon Jul 21 11:50:01 EDT 2025

Powered by FUDForum. Page generated in 0.08423 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top