Docker build error -> edge-runtime

I am using a ubuntu server OS running on x86_64 architecture.

Goal - Run edge functions on my server

Process followed to accomplish the goal -

-> Cloned the repo "https://github.com/supabase/edge-runtime"
-> Installed cargo and rust. Used the command curl https://sh.rustup.rs -sSf | sh. It was successfully installed
-> Ran the command docker build -t supabase/edge-runtime . inside the directory "edge-runtime"
-> Got the below error
  • ` > [ort 1/1] RUN ./scripts/install_onnx.sh $ONNXRUNTIME_VERSION linux linux/amd64 /root/onnxruntime: 0.777 0.777 gzip: stdin: unexpected end of file 0.778 tar: Child returned status 10.778 tar: Error is not recoverable: exiting now0.782 mv: cannot stat 'onnxruntime-linux/amd64-/root/onnxruntime-linux': No such file or directory------ERROR: failed to solve: process "/bin/sh -c ./scripts/install_onnx.sh $ONNXRUNTIME_VERSION linux $TARGETPLATFORM /root/onnxruntime" did not complete successfully: exit code: 1`
s the architecture of my server incompatible ?
Was this page helpful?