docker-java-sample icon indicating copy to clipboard operation
docker-java-sample copied to clipboard

Need to upgrade dependency for gradle-docker-plugin

Open chrispauley opened this issue 6 years ago • 1 comments

Current build uses a version of gradel file uses a dockerBuildImage that creates the following error.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dockerBuildImage'.
> Failed to parse dockerCfgFile: /home/chris-pauley/.docker/config.json

When I upgraded to 3.2.1 the problem was resolved.

    dependencies {
        classpath 'com.bmuschko:gradle-docker-plugin:3.2.1'
    }

chrispauley avatar Dec 06 '18 12:12 chrispauley

Hi, looks similar to chris (fixed with version 3.2.1), but the error was "Could not build image: null" The original fix is there => (https://github.com/bmuschko/gradle-docker-plugin/issues/364

Successfully built 845a80dcbc2b
Successfully tagged hellojava:latest
:dockerBuildImage FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':dockerBuildImage'.
> Could not build image: null

GradedJestRisk avatar Dec 18 '18 13:12 GradedJestRisk