Skip to content
This repository has been archived by the owner on Mar 31, 2022. It is now read-only.

Commit

Permalink
Fix progress output for cacheFrom
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sheehy <[email protected]>
  • Loading branch information
Steven Sheehy committed Feb 7, 2019
1 parent b039ea7 commit 9b9c2ba
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# Changelog

## Upcoming release
- Fix progress output when using cacheFrom ([269][])

[269]: https://github.com/spotify/dockerfile-maven/pull/269

## 1.4.10 (released January 15 2019)
- Add support for --squash experimental build option ([248][])
- Add support for specifying a custom Dockerfile location ([89][])
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ static String buildImage(@Nonnull DockerClient dockerClient,
for (String image : cacheFrom) {
try {
if (pullNewerImage || !imageExistLocally(dockerClient, image)) {
dockerClient.pull(image);
dockerClient.pull(image, progressHandler);
}
log.info(MessageFormat.format("Build will use image {0} for cache-from", image));
cacheFromExistLocally.add(image);
Expand Down

0 comments on commit 9b9c2ba

Please sign in to comment.