Transmode / gradle-docker

A Gradle plugin to build Docker images from the build script.
Apache License 2.0
647 stars 142 forks source link

Docker log output #86

Open f1xmAn opened 8 years ago

f1xmAn commented 8 years ago

Hi. There are no docker logs while building an image. Currently it isn't possible to estimate completion time or even make sure that everything is ok. I've started build by running ./gradlew -d clean build buildDocker but the only plugin's output was:

10:02:21.862 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :app:buildDocker (Thread[main,5,main]) started. 10:02:21.862 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :app:buildDocker 10:02:21.862 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Starting to execute task ':app:buildDocker' 10:02:21.862 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Determining if task ':app:buildDocker' is up-to-date 10:02:21.863 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter] Executing task ':app:buildDocker' (up-to-date check took 0.001 secs) due to: Task has not declared any outputs. 10:02:21.863 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter] Executing actions for task ':app:buildDocker'. 10:02:21.952 [INFO] [se.transmode.gradle.plugins.docker.DockerTask] Setting up staging directory. 10:02:21.955 [INFO] [se.transmode.gradle.plugins.docker.DockerTask] Creating Dockerfile from file /home/fx/IdeaProjects/crm4voiptime/app/src/main/docker/Dockerfile. 10:02:21.990 [INFO] [se.transmode.gradle.plugins.docker.DockerTask] Determining image tag: crm4voiptime/crm4voiptime-app:latest 10:02:21.991 [INFO] [se.transmode.gradle.plugins.docker.DockerTask] Using the native docker binary.

Building 99% > :app:buildDocker