Docker: Support ARG FROM #4597
Labels
core 🍏
Relates to the dependabot-core library itself
L: docker
Docker containers
T: feature-request
Requests for new features
Package ecosystem
docker
Package manager version
"Dockerfile"
Language version
docker
Manifest location and content prior to update
dependabot.yml content
Updated dependency
What you expected to see, versus what you actually saw
Actually, this line does not support ARGs parsing including replacing:
dependabot-core/docker/lib/dependabot/docker/file_parser.rb
Line 42 in b7ad648
Dependabot should put all
ARG
s in a map and replace the values before executing the regex.This syntax is valid: https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact
Native package manager behavior
n/a
Images of the diff or a link to the PR, issue or logs
n/a, because Dependabot does not detect this line as valid
FROM
syntax, so no dependency was detected.🕹 Bonus points: Smallest manifest that reproduces the issue
The text was updated successfully, but these errors were encountered: