Skip to content

jibDockerBuild Gradle task fails (band aid applied) #342

Description

@climategadgets

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    STICKYIssues with this label will not be closed so they are visible at all timesannoyancebuilddockerjib

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions