Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce extension for configuring docker --link #971

Open
melix opened this issue Mar 22, 2024 · 0 comments
Open

Introduce extension for configuring docker --link #971

melix opened this issue Mar 22, 2024 · 0 comments

Comments

@melix
Copy link
Collaborator

melix commented Mar 22, 2024

Issue description

It can be a bit cumbersome to configure all docker tasks to disable --link. We should maybe introduce an extension to setup this globally, eg.:

micronaut {
    docker {
       useCopyLink = false
    }
}

instead of:

tasks.withType(io.micronaut.gradle.docker.MicronautDockerfile).configureEach { useCopyLink = false }
tasks.withType(io.micronaut.gradle.docker.NativeImageDockerfile).configureEach { useCopyLink = false }

see #970

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant