If you are now using docker on a Mac M1 (arm64 platform), you don't want to use amd64 as the architecture for your Linux Images.
You could have 2 lines on your Dockerfile and comment each one depending on where you're building the image
Dockerfile
# Building on Apple Silicon host