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

Fix progress output for cacheFrom #269

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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