3 ms·
I wish more projects would include a dockerfile in which a compiler and all dependencies are installed to run the right make command as ‘docker build .’ So you
by jiehong 1y ago
I wish more projects would include a dockerfile in which a compiler and all dependencies are installed to run the right make command as ‘docker build .’
So you get a working build example, and if you’re lucky and the base image exists for your architecture, it’ll compile a binary for your system too (assuming static linking I guess).
- jrop 1y agoThis and/or a shell.nix that bundles all dependencies outside of those provided by the language's package manager.
- akdev1l 1y ago> it’ll compile a binary for your system too (assuming static linking I guess). I’ve tried as you said and I’ve found that this is not a good assumption to make glibc doesn’t support static linking so this is not working in the general case