Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Works the other way around as well: Compile platform independent code (such as Java) on --platform=$BUILDPLATFORM in a build stage and then copy into containers that are --platform=$TARGETPLATFORM. That way your build only runs once, natively, but you can produce the correct runtime containers for each architecture rather quickly.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: