3 ms·
You could use fpm. But the point is: can you pack every single dependency in your project? Usually you'll need something from the outside distro (libc usually)
by alanfranzoni 12y ago
You could use fpm.
But the point is: can you pack every single dependency in your project? Usually you'll need something from the outside distro (libc usually). Then if you're building on a different host than your target, you may experience issues or different runtime behaviour.
- twic 12y agoIt depends what you're packaging. C/C++ code linked against dynamic libraries? Yes, you're going to struggle to package reliably without using the native tools. Java code packaged as a bundle of jars, with no dependency except a JVM? Go code compiled statically, with no dependency except libc? Simple portable packaging should do the job.