triton-inference-server / fil_backend

FIL backend for the Triton Inference Server
Apache License 2.0
68 stars 35 forks source link

fix "Dockerfile parse error line xx: Unknown flag: mount" #181

Closed daxiongshu closed 2 years ago

daxiongshu commented 2 years ago

When I run ./build.sh, I have this error:

(base) jiweil@dgx11:~/rapids/fil_backend$ ./build.sh
[+] Building 0.1s (2/2) FINISHED
 => [internal] load .dockerignore                                                                                                                                                    
 => => transferring context: 103B                                                                                                                                        
 => [internal] load build definition from Dockerfile                                                                                                                  
 => => transferring dockerfile: 5.74kB                                                                                                                                                
failed to solve with frontend dockerfile.v0: failed to create LLB definition: Dockerfile parse error line 36: Unknown flag: mount

I googled and found a fix here

wphicks commented 2 years ago

Great! Thank you very much! It looks like from the docs here that version 1.3 should be sufficient. Can you try # syntax=docker/dockerfile:1.3 locally? If it works, it's probably better to keep to a stable version.

daxiongshu commented 2 years ago

Great! Thank you very much! It looks like from the docs here that version 1.3 should be sufficient. Can you try # syntax=docker/dockerfile:1.3 locally? If it works, it's probably better to keep to a stable version.

yeah, it works. Thanks! :)

wphicks commented 2 years ago

CI failure was unrelated; rerunning