4 ms·
Although this was always a problem until the mac M1 chips it didn’t matter much. Now it happens almost every week. I would prefer to have at least the same arch
by bogota 3y ago
Although this was always a problem until the mac M1 chips it didn’t matter much. Now it happens almost every week. I would prefer to have at least the same architecture between my local and prod environments.
- rad_gruchalski 3y agodocker build --platform linux/amd64 alternatively: docker buildx build --platform linux/arm64,linux/amd64 # or whatever you need to target...
- bogota 3y agoYeah i have used this. It’s about 10x slower though. For instance unit tests that took 2 minutes on mac take almost 20 minutes. Good for one off testing but not a full solution
- rad_gruchalski 3y agoI’d assume it’s no different than cross-compiling on amd64 to arm64. At least it’s possible.
- pornel 3y agoHetzner has ARM VPSes now :)
- wmf 3y agoSo change your prod environment to ARM64.