Skip to content

Commit f6c7993

Browse files
authored
Merge pull request #51 from taberj-git/bug/fix-build-link-issue
Disable --link flag in Micronaut-generated Dockerfiles
2 parents 9718729 + 0101257 commit f6c7993

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

UnityAuth/build.gradle

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,15 @@ java {
5252
}
5353

5454
graalvmNative.toolchainDetection = false
55+
56+
tasks.withType(io.micronaut.gradle.docker.MicronautDockerfile).configureEach {
57+
useCopyLink = false
58+
}
59+
60+
tasks.withType(io.micronaut.gradle.docker.NativeImageDockerfile).configureEach {
61+
useCopyLink = false
62+
}
63+
5564
micronaut {
5665
runtime("netty")
5766
testRuntime("junit5")

0 commit comments

Comments
 (0)