Re:Java Development on an Apple M1 – A One Year Review
by heffer on Friday March 25, 2022 @12:46PM
(#30804386)
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.
[ Parent
| on HN ]
There are no comments on this comment yet.