© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•14mo ago•
2 replies
ihaveskills

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
curl https://sh.rustup.rs -sSf | sh
. It was successfully installed
-> Ran the command
docker build -t supabase/edge-runtime .
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 1
0.778 tar: Error is not recoverable: exiting now
0.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
 > [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 1
0.778 tar: Error is not recoverable: exiting now
0.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


Is the architecture of my server incompatible ?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

DNS error in edge-runtime container (rootless Docker in WSL2)
SupabaseSSupabase / help-and-questions
3y ago
Edge Runtime Extended Functions
SupabaseSSupabase / help-and-questions
3y ago
Migrate from Legacy Edge Functions runtime to new Edge Functions Runtime
SupabaseSSupabase / help-and-questions
3mo ago
GoTrue not supported in Edge Runtime?
SupabaseSSupabase / help-and-questions
4y ago