keeganwitt / docker-gradle

Docker images with Gradle
https://hub.docker.com/_/gradle/
Apache License 2.0
147 stars 73 forks source link

How to set init.gradle #249

Closed joveth1 closed 1 year ago

joveth1 commented 1 year ago

I'm writing dockerfile like this:

FROM gradle:jdk17 AS builder

And want to change something in init.gradle file .What is the file location?

keeganwitt commented 1 year ago

https://docs.gradle.org/current/userguide/init_scripts.html describes init script locations. I don't believe any come as part of the standard Gradle distribution. There is nothing in $GRADLE_HOME/init.d or $GRADLE_USER_HOME in this image.

keeganwitt commented 1 year ago

Closing as I believe there's no issue. Let me know if you believe I'm mistaken.