1. Go to the gradle build file and add the container block at the end of the jib block.
Syntax:
container {
jvmFlags = ['ARG1=Value','ARG2=Value']
}
Example:
container {
jvmFlags = ['-Dserver.name=tomcat10','-Dhost.name=tomcat']
}
1. Go to the gradle build file and add the container block at the end of the jib block.
Syntax:
container {
jvmFlags = ['ARG1=Value','ARG2=Value']
}
Example:
container {
jvmFlags = ['-Dserver.name=tomcat10','-Dhost.name=tomcat']
}
Comments
0 comments
Article is closed for comments.