Closed vorburger closed 1 year ago
This avoids re-re-re-downloading Gradle for every build.
It was originally in #392 but was was then factored out from there to unblock that.
As described there, as-is this won't work yet on GCB with docker instead of podman, because docker build -v does not work (unlike with podman).
docker
podman
docker build -v
I'll fix that later; probably by COPY-ing the .gradlew and gradle/wrapper/* etc. in the Dockerfile-build.
COPY
.gradlew
gradle/wrapper/*
Dockerfile-build
Done! @edewit this should pass the build - review and merge it when it does?
This avoids re-re-re-downloading Gradle for every build.
It was originally in #392 but was was then factored out from there to unblock that.
As described there, as-is this won't work yet on GCB with
docker
instead ofpodman
, becausedocker build -v
does not work (unlike withpodman
).I'll fix that later; probably by
COPY
-ing the.gradlew
andgradle/wrapper/*
etc. in theDockerfile-build
.