Action Taken
./gradlew jibDockerBuild
Expected Behavior
A Docker image is built.
Actual Behavior
Build fails with a message pointing out to configuration cache problems (see below)
Root Cause
Configuration cache is not supported by Jib, see GoogleContainerTools/jib#3132
Interestingly enough, that issue was created on 2021-03-12, 1681 days as of the moment of writing. 👀🍿
Workaround
./gradlew jibDockerBuild --no-configuration-cache
Error Message
As of rev. fe758b1:
* What went wrong:
Execution failed for task ':app:hcc-springboot:jibDockerBuild'.
> Invocation of 'Task.project' by task ':app:hcc-springboot:jibDockerBuild' at execution time is unsupported with the configuration cache.
Action Taken
./gradlew jibDockerBuildExpected Behavior
A Docker image is built.
Actual Behavior
Build fails with a message pointing out to configuration cache problems (see below)
Root Cause
Configuration cache is not supported by Jib, see GoogleContainerTools/jib#3132
Interestingly enough, that issue was created on 2021-03-12, 1681 days as of the moment of writing. 👀🍿
Workaround
./gradlew jibDockerBuild --no-configuration-cacheError Message
As of rev. fe758b1: