forked from fabric8io/docker-maven-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: arg stated in a FROM clause can reference other args (fabric8io#…
- Loading branch information
1 parent
e980189
commit 9fe7d79
Showing
4 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
src/test/resources/io/fabric8/maven/docker/util/Dockerfile_from_simple_with_args
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Dockerfile with a simple FROM clause with ARG | ||
ARG VERSION=latest | ||
FROM alpine:${VERSION} |
5 changes: 5 additions & 0 deletions
5
src/test/resources/io/fabric8/maven/docker/util/Dockerfile_from_simple_with_chained_args
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Dockerfile with a simple FROM clause with ARGs | ||
ARG IMAGE_NAME=alpine | ||
ARG IMAGE_TAG=latest | ||
ARG FULL_IMAGE=${IMAGE_NAME}:${IMAGE_TAG} | ||
FROM ${FULL_IMAGE} |