We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
❯ docker build -f Dockerfile-build . [+] Building 0.1s (2/2) FINISHED => [internal] load build definition from Dockerfile-build 0.0s => => transferring dockerfile: 1.98kB 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 27: unknown instruction: IF
The text was updated successfully, but these errors were encountered:
Hmm, try adding to the top of the docker file the line below. It should force docker to use the newer syntax # syntax=docker/dockerfile:1.4
# syntax=docker/dockerfile:1.4
Sorry, something went wrong.
That fixes it!
Ok, committed the changes
dlmcpaul
No branches or pull requests
The text was updated successfully, but these errors were encountered: