I’m building linux/amd images from a Mac M2 using node:20-slim without issue. Note that it is not an alpine image
node:20-slim