Docker compatibility issue

Hey! Quick question. I am trying to get a docker build to run and am hitting a exec /bin/sh: exec format error error. I have built the base image of the dockerfile myself and pushed it up to Dockerhub to use. I am on an M1 Mac, so I tried buildin git for arm64 with the command docker build --platform=linux/arm64 -f scripts/Dockerfile.base -t magickml/magick:latest . and pushed that base image up, but I am still havign no luck. Is there a recommended platform for me to build my base image for so that it works on railway?
Solution:
railway only supports amd64
Jump to solution
4 Replies
Percy
Percy4mo ago
Project ID: 6fb8606f-116c-4e15-b653-24c48bdad9dd
Parzival
Parzival4mo ago
6fb8606f-116c-4e15-b653-24c48bdad9dd
Solution
Brody
Brody4mo ago
railway only supports amd64
Parzival
Parzival4mo ago
ok cool. Thanks! I just couldn't find any info in the docs. Would be helpful to add the info to the docs on dockerfiles.