docker-java-sample
docker-java-sample copied to clipboard
Need to upgrade dependency for gradle-docker-plugin
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'
}
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