Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » How to build in docker?
How to build in docker? [message #1856989] Wed, 11 January 2023 20:13 Go to next message
Tim Mizas is currently offline Tim MizasFriend
Messages: 2
Registered: January 2023
Junior Member
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 18:49 Go to previous message
Tim Mizas is currently offline Tim MizasFriend
Messages: 2
Registered: January 2023
Junior Member
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 18:49]

Report message to a moderator

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


Current Time: Tue Jan 14 04:23:13 GMT 2025

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

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

Back to the top