microsoft / microsoft/vscode-containers
Doesn't recognize `--unpack` argument to `ADD`
Open
Nobody has claimed this yet.
language-server
- Dominant language
- TypeScript
- Stars
- 139
- Forks
- 87
- Avg merge
- 9h 15m
- Merged PRs (30d)
- 9
Description
Example:
# syntax=docker/dockerfile:1
FROM debian
ADD --unpack \
https://github.com/asdf-vm/asdf/releases/download/v0.18.0/asdf-v0.18.0-linux-amd64.tar.gz \
/usr/local/bin/
Gives red squiggles on the --unpack arg, even though it is valid so long as the # syntax=... directive is present.
The suggested fix to change it to --chown is particularly unhelpful 🙃
VSCode: 1.105.1
Extension version: 2.3.0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the report in VS Code 1.105.1 with extension version 2.3.0 using the Dockerfile example and its # syntax=docker/dockerfile:1 directive. Trace the diagnostic produced for ADD --unpack; done when this valid argument no longer receives a red squiggle or the misleading --chown suggestion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker, typescript
- Domain
- developer-experience, devtools
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100