[Docker] Multi-Arch Build/Image

Hello all,

We have a Dockerfile that is expected to be built on multiple architectures. However, as per usual, the M1 chip (arm) has prevented a simple config from working as expected.

Here is the Dockerfile: web3-curriculum/Dockerfile at main · freeCodeCamp/web3-curriculum · GitHub

I assumed, because this was being built on the offending architecture, Docker/DockerDesktop would automatically pull the correct Ubuntu image (amd64, arm64)?

How does one go about writing a single Dockerfile which supports different architectures?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.