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
I'm using docker/dockerfile:1.7-labs syntax to be able to use COPY --exclude, but the linter doesn't recognize it.
docker/dockerfile:1.7-labs
COPY --exclude
I tried to restart the IDE, but didn't worked.
I'm using: Visual Studio Code 1.88.0 Docker extension v1.29.0 Docker Desktop 4.28.0
The text was updated successfully, but these errors were encountered:
@rcjsuen is this labs syntax stuff something we even want to support?
Sorry, something went wrong.
It's in the official documentation: https://docs.docker.com/reference/dockerfile/#copy---exclude The labs syntax add only two modifications https://docs.docker.com/build/dockerfile/release-notes/#labs
Is there a way of adding a custom rule to ignore this error?
I added support for this last month (rcjsuen/dockerfile-utils#124) but I need to make a new release of the language server to include the update.
You can try putting # dockerfile-utils: ignore before the error and it should ignore it.
# dockerfile-utils: ignore
COPY --parents
I've published a new 0.12.0 to npm that should fix this issue.
Successfully merging a pull request may close this issue.
I'm using
docker/dockerfile:1.7-labs
syntax to be able to useCOPY --exclude
, but the linter doesn't recognize it.I tried to restart the IDE, but didn't worked.
I'm using:
Visual Studio Code 1.88.0
Docker extension v1.29.0
Docker Desktop 4.28.0
The text was updated successfully, but these errors were encountered: