try fixing docker build so it doesn't run every time
This commit is contained in:
parent
2208c91652
commit
1be9841d8b
2 changed files with 2 additions and 2 deletions
|
|
@ -19,7 +19,7 @@ val dockerUp by tasks.registering(Exec::class) {
|
||||||
logging.captureStandardOutput(LogLevel.LIFECYCLE)
|
logging.captureStandardOutput(LogLevel.LIFECYCLE)
|
||||||
|
|
||||||
workingDir = dockerSrcDir.asFile
|
workingDir = dockerSrcDir.asFile
|
||||||
commandLine = parseSpaceSeparatedArgs(""" docker-compose up -d """)
|
commandLine = parseSpaceSeparatedArgs(""" docker-compose up --build -d """)
|
||||||
}
|
}
|
||||||
|
|
||||||
val dockerDown by tasks.registering(Exec::class) {
|
val dockerDown by tasks.registering(Exec::class) {
|
||||||
|
|
|
||||||
|
|
@ -25,4 +25,4 @@ val dockerBuildKafkaPipe by tasks.registering(Exec::class) {
|
||||||
workingDir = dockerSrcDir.asFile
|
workingDir = dockerSrcDir.asFile
|
||||||
commandLine = parseSpaceSeparatedArgs(""" docker-compose build kafka-pipe """)
|
commandLine = parseSpaceSeparatedArgs(""" docker-compose build kafka-pipe """)
|
||||||
}
|
}
|
||||||
tasks.assemble { dependsOn(dockerBuildKafkaPipe) }
|
//tasks.assemble { dependsOn(dockerBuildKafkaPipe) }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue