-
Notifications
You must be signed in to change notification settings - Fork 635
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support standard maven interpolation
Replaces the regex-based property interpolation with the plexus classes used typically by maven to perform interpolation. This allows references to things like ${project.build.directory} in the Dockerfile. [fixes #871] Signed-off-by: Scott Coplin <coplin.6@osu.edu>
- Loading branch information
Showing
9 changed files
with
96 additions
and
59 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM @base@ | ||
LABEL name ${name} @age@ ${ext} blub @unknown@ @ | ||
LABEL name ${name} @age@ ${ext} blub @unknown@ @project.artifactId@ @ | ||
ENV @name@ @ext@ |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM java | ||
LABEL name ${name} 42 ${ext} blub @unknown@ @ | ||
LABEL name ${name} 42 ${ext} blub @unknown@ docker-maven-plugin @ | ||
ENV guenther png |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
FROM ${base} | ||
LABEL name ${name} @age@ ${ext} ${unknown} | ||
LABEL name ${name} @age@ ${ext} ${unknown} ${project.artifactId} | ||
ENV ${name} ${age} | ||
ENV cli=${cliOverride} | ||
USER ${user.name} |
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 |
---|---|---|
@@ -1,3 +1,5 @@ | ||
FROM java | ||
LABEL name guenther @age@ png ${unknown} | ||
LABEL name guenther @age@ png ${unknown} docker-maven-plugin | ||
ENV guenther 42 | ||
ENV cli=cliValue | ||
USER somebody |