-
Notifications
You must be signed in to change notification settings - Fork 645
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support for docker build --pull option
Within the docker build options there is now --pull. This enables an attempt to pull a newer version of the image always. Additional information can be found here: https://docs.docker.com/engine/reference/commandline/build/
- Loading branch information
1 parent
dc82c82
commit b6bb1af
Showing
10 changed files
with
59 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -81,6 +81,9 @@ A provided `<from>` takes precedence over the name given here. This tag is usefu | |
| *maintainer* | ||
| The author (`MAINTAINER`) field for the generated image | ||
|
||
| *pull* | ||
| Always attempt to pull a newer version of the image. This can be overwritten by setting a system property `docker.pull` when running Maven. | ||
|
||
| *nocache* | ||
| Don't use Docker's build cache. This can be overwritten by setting a system property `docker.nocache` when running Maven. | ||
|
||
|
@@ -125,6 +128,7 @@ remote API. | |
<build> | ||
<from>java:8u40</from> | ||
<maintainer>[email protected]</maintainer> | ||
<pull>true</pull> | ||
<tags> | ||
<tag>latest</tag> | ||
<tag>${project.version}</tag> | ||
|
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 |
---|---|---|
|
@@ -44,6 +44,7 @@ public enum ConfigKey { | |
CPUSHARES, | ||
CPUS, | ||
CPUSET, | ||
PULL, | ||
NOCACHE, | ||
OPTIMISE, | ||
CMD, | ||
|
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