-
I'm a bit confused about the requirement that docker images support both amd64 and arm64. I understand the part about indicating that only a specific architecture is supported. The reason why I ask is that I noticed that in the CI workflow here and here, the arm64 image only gets built if the
Please don't interpret this as arguing with the requirement. I'm just trying to understand it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The two things are basically mostly independent. CI is there to confirm the solutions' Docker images build, and building for AMD64 is a lot faster than ARM64 - as that architecture is emulated using QEMU during the CI workflow. So, if an AMD64 base image is present then we prefer that for CI, but still "test" the Dockerfile if ARM64 is the only option. We acknowledge that this doesn't cover the scenario where an AMD64 Docker build behaves differently from an ARM64 Docker build based on the same base image, partly because we've found that is very rare indeed. The "requirement" for the ability for solutions to run on ARM64 if possible is rooted in the facts that
Now, the actual "daily" comparison between the two architectures' performance is complicated by the fact that we currently have no ARM64 daily benchmark runners. That's a practical limitation that's unfortunate, but I don't think negates the arguments I just mentioned for the desire to support ARM64 as such. |
Beta Was this translation helpful? Give feedback.
The two things are basically mostly independent.
CI is there to confirm the solutions' Docker images build, and building for AMD64 is a lot faster than ARM64 - as that architecture is emulated using QEMU during the CI workflow. So, if an AMD64 base image is present then we prefer that for CI, but still "test" the Dockerfile if ARM64 is the only option. We acknowledge that this doesn't cover the scenario where an AMD64 Docker build behaves differently from an ARM64 Docker build based on the same base image, partly because we've found that is very rare indeed.
The "requirement" for the ability for solutions to run on ARM64 if possible is rooted in the facts that