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?4 Replies
Project ID:
6fb8606f-116c-4e15-b653-24c48bdad9dd
6fb8606f-116c-4e15-b653-24c48bdad9dd
Solution
railway only supports amd64
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.