daz / dji-thermal-sdk-docker

12 stars 3 forks source link

Broken Dockerfile #2

Open joaoramosipl opened 2 years ago

joaoramosipl commented 2 years ago

Hello, can you please fix the Dockerfile? There seems to be an issue with Git diff code inside the file itself. Thanks for your help and contribution.

daz commented 2 years ago

Can you please paste in the error? It’s building fine my end

joaoramosipl commented 2 years ago

[+] Building 0.1s (2/2) FINISHED => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.03kB 0.0s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s failed to solve with frontend dockerfile.v0: failed to create LLB definition: dockerfile parse error line 6: unknown instruction: DIFF

daz commented 2 years ago

Might be you’re using an older version of Docker, pre 1.4 when heredoc support was added? I just updated the Dockerfile to force latest 1.x.x version in 7773fb0f, see what happens when you build now

kxlwolf commented 2 years ago

failed: Error response from daemon: dockerfile parse error line 7: unknown instruction: DIFF

docker version: Version: 20.10.17 API version: 1.41 Go version: go1.17.11 Git commit: 100c701 Built: Mon Jun 6 23:02:56 2022 OS/Arch: linux/amd64 Context: default Experimental: true

Can you help me to solve it? Thanks!!!

coryg-phd commented 2 years ago

@kxlwolf I had the same issue and error, but solved it using the second set of install instructions in the readme