From 1aee6fdc11042b0b591dcaa0e5e65d26c3a8d3d5 Mon Sep 17 00:00:00 2001 From: Viktor Lofgren Date: Fri, 10 Mar 2023 17:16:44 +0100 Subject: [PATCH] Fix docker dependencies warning. --- docker-service.gradle | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docker-service.gradle b/docker-service.gradle index 4f8605dc..6048d9ba 100644 --- a/docker-service.gradle +++ b/docker-service.gradle @@ -30,12 +30,14 @@ ENTRYPOINT WMSA_HOME=/wmsa /${application.applicationName}/bin/${application.app it.outputs.file(df) } +dockerPrepare { + dependsOn tasks.dockerFile +} + docker { dockerfile = tasks.dockerFile.outputs.files.singleFile name = 'marginalia.nu/'+application.applicationName+':latest' files tasks.distTar.outputs tags 'latest' - dependsOn tasks.distTar - dependsOn tasks.dockerFile }