try fixing docker build so it doesn't run every time

This commit is contained in:
Adam 2022-01-09 12:37:41 +01:00
parent 2208c91652
commit 1be9841d8b
2 changed files with 2 additions and 2 deletions

View file

@ -19,7 +19,7 @@ val dockerUp by tasks.registering(Exec::class) {
logging.captureStandardOutput(LogLevel.LIFECYCLE)
workingDir = dockerSrcDir.asFile
commandLine = parseSpaceSeparatedArgs(""" docker-compose up -d """)
commandLine = parseSpaceSeparatedArgs(""" docker-compose up --build -d """)
}
val dockerDown by tasks.registering(Exec::class) {

View file

@ -25,4 +25,4 @@ val dockerBuildKafkaPipe by tasks.registering(Exec::class) {
workingDir = dockerSrcDir.asFile
commandLine = parseSpaceSeparatedArgs(""" docker-compose build kafka-pipe """)
}
tasks.assemble { dependsOn(dockerBuildKafkaPipe) }
//tasks.assemble { dependsOn(dockerBuildKafkaPipe) }