Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken Dockerfile #2

Open
joaoramosipl opened this issue Jul 5, 2022 · 5 comments
Open

Broken Dockerfile #2

joaoramosipl opened this issue Jul 5, 2022 · 5 comments

Comments

@joaoramosipl
Copy link

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
Copy link
Owner

daz commented Jul 5, 2022

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

@joaoramosipl
Copy link
Author

[+] 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
Copy link
Owner

daz commented Jul 25, 2022

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 7773fb0, see what happens when you build now

@kxlwolf
Copy link

kxlwolf commented Aug 12, 2022

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants