Mirco Jüstel
03/06/2023, 4:11 PMbuildDockerImage build step in the connector-builder-server.
task prepareBuild(type: Copy) {
from layout.projectDirectory.file(".")
exclude '.*'
exclude 'build'
exclude '**/*.pyc'
into layout.buildDirectory.dir("docker")
}
tasks.named("buildDockerImage") {
dependsOn prepareBuild
dependsOn copyDocker
}
Since the copyDocker Task is a Sync -Task, which deletes the build/docker directory, how is ensured, that it runs before the prepareBuild Task?
Also, why is '.*' excluded in the prepareBuild Task, this will exclude for example the .dockerignore file right? So when sending the files to the docker-context no ignore file will be present.
Thanks in advance!Nataly Merezhuk (Airbyte)
03/09/2023, 6:17 PM