Hi Mikaël,
Thanks for this clarification.
Still, our Java library embeds the native (C) libraries for all the platforms we supports (x86, ARM, MacOS…).
Therefore, we need in a single Maven build to compile all the native libraries and to bundle them into a jar.
The current solution is to have Maven calling a Makefile which calls the various cross-compilation Docker containers to build the native libs, and then goes on with packaging and tests.
The great advantage of this, is that any user only needs to pre-install Docker (and SWIG) before to run a regular mvn command.
Do you see a solution to make this work in CBI with a custom pod template?
Cheers,
Julien
My question:
Is it possible for a build in CBI to pull/start Docker containers on the fly, and if yes, how ?
No, it's not possible for security reasons: letting people mount the docker socket basically grants root access to the host.
Cheers,
Mikaël Barbero
Team Lead - Release Engineering | Eclipse Foundation
🐦 @mikbarbero
_______________________________________________
cbi-dev mailing list
cbi-dev@xxxxxxxxxxx
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cbi-dev