Hello together, i have a small question regarding ...
# replication-troubleshooting
m
Hello together, i have a small question regarding the
buildDockerImage
build step in the connector-builder-server.
Copy code
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!
n
Hey, Mirco! Apologies for the late reply and thanks for your patience! These are excellent questions, let me get some feedback on this from the team!
👍 1