You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be more versatile if the global scope arg TARGETPLATFORM were used instead of BUILDPLATFORM in the Dockerfiles, e.g. here, for building quiz-api-0.1, etc. This would allow the user to build the image targeting a specific architecture, rather than the architecture they are building on.
For example, if they are on an Apple Silicon Mac but they want to build for deploying on x86 cluster nodes, they can set PLATFORM to linux/amd64 in the Makefile and the images will be built for that target architecture. As things stand, images will always be built for linux/arm64 as BUILDPLATFORM matches the current build machine.
The text was updated successfully, but these errors were encountered:
It would be more versatile if the global scope arg TARGETPLATFORM were used instead of BUILDPLATFORM in the Dockerfiles, e.g. here, for building quiz-api-0.1, etc. This would allow the user to build the image targeting a specific architecture, rather than the architecture they are building on.
For example, if they are on an Apple Silicon Mac but they want to build for deploying on x86 cluster nodes, they can set PLATFORM to linux/amd64 in the Makefile and the images will be built for that target architecture. As things stand, images will always be built for linux/arm64 as BUILDPLATFORM matches the current build machine.
The text was updated successfully, but these errors were encountered: