microsoft / microsoft/vscode-containers

ARG double evaluation

Open
#107 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

language-server
Dominant language
TypeScript
Stars
139
Forks
87
Avg merge
9h 15m
Merged PRs (30d)
9

Description

When evaluated ARG contains another ARG reference it expected to be fully expanded.
Example line: https://github.com/ohhmm/openmind/blob/e7e9170d4ebb86e32112ae0b4397db51925478f6/.devcontainer/Dockerfile#L4

ARG LLVM_MAJOR_VERSION=17
ARG LLVM_FULL_VERSION=$LLVM_MAJOR_VERSION.0.6

Hovering LLVM_FULL_VERSION hints $LLVM_MAJOR_VERSION.0.6 but 17.0.6 is expected.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the .devcontainer/Dockerfile example linked in the issue and reproduce the hover result for LLVM_FULL_VERSION. Trace the ARG evaluation used by the Dockerfile hover, then verify that the displayed value changes from $LLVM_MAJOR_VERSION.0.6 to 17.0.6.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, dockerfile, typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.