-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add global ARG support for Dockerfiles #2057
Copy link
Copy link
Open
Labels
F: language-supportIssues specific to a particular language or ecosystem; may be paired with an L: label.Issues specific to a particular language or ecosystem; may be paired with an L: label.KeepExempt this from being marked by stalebotExempt this from being marked by stalebotL: dockerDocker containersDocker containersT: feature-requestRequests for new featuresRequests for new features
Metadata
Metadata
Assignees
Labels
F: language-supportIssues specific to a particular language or ecosystem; may be paired with an L: label.Issues specific to a particular language or ecosystem; may be paired with an L: label.KeepExempt this from being marked by stalebotExempt this from being marked by stalebotL: dockerDocker containersDocker containersT: feature-requestRequests for new featuresRequests for new features
Feature request: Dependabot to support
ARGwith default values in anyFROMstatement when resolving dependencies.Docker supports
ARGinstructions before the firstFROMinstruction. (https://docs.docker.com/engine/reference/builder/#understand-how-arg-and-from-interact). TheARGinstruction should be easy to parse and evaluate.Example:
Before checking for new versions, the
FROMinstruction should be evaluated as:Use case: Using a registry mirror that dependabot doesn't have access to. With this feature in your CI you could override the registry as follows without breaking dependabot: