Hello Kudu Jenkins, Andrew Wong, Bankim Bhavsar,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/16181
to look at the new patch set (#2).
Change subject: [docker] Use ccache and Gradle cache across builds
......................................................................
[docker] Use ccache and Gradle cache across builds
This patch uses buildkits `--mount=type=cache` syntax to allow
the builds ccache and Gradle cache to be used across Docker builds.
This speeds up the Docker build when re-building the thirdparty,
C++, and Java modules and mirrors the best practices for
non-Docker based builds.
See the buildkit documentation for details:
https://github.com/moby/buildkit/blob/master/frontend/dockerfile/docs/experimental.md#run---mounttypecache
Below shows the runtime difference for subsequent builds of the
thirdparty target and Kudu target before and after this change:
`thirdparty` target:
- Before: 1:18:13
- After: 0:17:47
`kudu` target:
- Before: 0:19:10
- After: 0:04:08
Change-Id: Ie21ed47983b990e9d2aac419454b9a37a0600334
---
M docker/Dockerfile
M docker/README.adoc
M docker/docker-build.py
3 files changed, 40 insertions(+), 13 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/81/16181/2
--
To view, visit http://gerrit.cloudera.org:8080/16181
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ie21ed47983b990e9d2aac419454b9a37a0600334
Gerrit-Change-Number: 16181
Gerrit-PatchSet: 2
Gerrit-Owner: Grant Henke <[email protected]>
Gerrit-Reviewer: Andrew Wong <[email protected]>
Gerrit-Reviewer: Bankim Bhavsar <[email protected]>
Gerrit-Reviewer: Kudu Jenkins (120)