Sadly it hangs indefinitely here when executing task buildDocker:
[...]
:build
:buildDocker
[tar] Building tar: C:\path\to\intellij_workspace\projectname\build\docker\add_4.tar
[...]
The tar it self is properly built but the subsequent call of native "docker build [...]" seems to hang.
Some more info is available when running "gradlew clean buildDocker --info":
[...]
Executing task ':buildDocker' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Setting up staging directory.
Creating tar archive C:\path\to\intellij_workspace\projectname\build\docker\add_4.tar from C:\Users\USRNAM~1\AppData\Local\Temp\1504257706294-0
[tar] Building tar: C:\path\to\intellij_workspace\projectname\build\docker\add_4.tar
Creating Dockerfile from base develar/java:latest.
Determining image tag: module-name:0.0.2-SNAPSHOT
Using the native docker binary.
<============-> 93% EXECUTING
> :buildDocker
> IDLE
> IDLE
> IDLE
[...]
Fun fact no. 1:
When I abort the gradle build, rerun und abort again I have a fully functional docker images in my local docker.
Fun fact no. 2:
When I run the command that the pluin executes (found out by stoping docker while build was running and extracted from resulting error message - failed to run command [command]) in a shell it runs flawlessly:
I am currently a bit out of ideas why the external command execution hangs.
Any hint would by highly appreciated! Thanks a lot in advance! Let me know in case that you need more information.
Hello,
I am trying to build a docker image with gradle v3.5.1 (Windows 10, docker 1.12.3 (8488), IntelliJ) of my spring boot v1.5.5.RELEASE application.
Excerpt from my build.gradle:
Sadly it hangs indefinitely here when executing task buildDocker:
The tar it self is properly built but the subsequent call of native "docker build [...]" seems to hang.
Some more info is available when running "gradlew clean buildDocker --info":
Fun fact no. 1: When I abort the gradle build, rerun und abort again I have a fully functional docker images in my local docker. Fun fact no. 2: When I run the command that the pluin executes (found out by stoping docker while build was running and extracted from resulting error message - failed to run command [command]) in a shell it runs flawlessly:
I am currently a bit out of ideas why the external command execution hangs. Any hint would by highly appreciated! Thanks a lot in advance! Let me know in case that you need more information.