Thank you for your reply.
The Docker image is the very same for both the development of examples and the headless build.
They were being run at different locations: developers develop examples, those are placed in a repository, then the examples are imported and headless built in a different workspace. There are no SDKs in the test installation, SDKs are downloaded by the developers and as far as I understand and my experience with other vendor's tools tell me, I don't see a reason to need the SDK. The project has been done, it is finished, all its files are in a directory, it just needs to be built, it has all that it needs there. In fact, seeing my logs, the project builds OK. Following your advice, I'm running the headless build on the same path where the SDKs are. In fact, I need to do the very same Docker invocation providing X11, otherwise it
No protocol specified
Unable to init server: Could not connect: Connection refused
!ENTRY org.eclipse.osgi 4 0 2024-01-10 14:21:08.602
!MESSAGE Application error
!STACK 1
org.eclipse.swt.SWTError: No more handles [gtk_init_check() failed]
Now it works.
This is not truly a headless build and is not suitable for a CI/CD pipeline, at least not for ours:
- There won't be any X11 support on our CI/CD runners.
- Requiring access to the SDK to make the tool happy means that we need to recreate a new Docker image every time we add support for a new part, or download the SDK on-demand every time we run the tests.
Addendum:
For some reason, MCUXpressoIDE insists in downloading the MIMXRT1060-EVKB SDK in the plugins folder, that is in the Docker image, instead of the expected path as you mentioned. Result is that the SDK is lost after closing the IDE. I manually copied it to the expected place.
The 1020 SDK had been downloaded with the former version, 11.8.0, and was found were expected. Hope I don't need to download any more SDKs.
Regards
@lpcxpresso_supp