Slide 35
Slide 35 text
CVJMEHSBEMF
jib.to.image = 'registry.hub.docker.com/stormcat24/hellojib:latest'
jib {
from {
image = 'gcr.io/distroless/java'
credHelper = 'osxkeychain'
}
to {
image = 'registry.hub.docker.com/stormcat24/hellojib:latest'
credHelper = 'osxkeychain'
auth {
username = dockerUsername
password = dockerPassword
}
}
container {
jvmFlags = ['-Djava.security.egd=file:/dev/./urandom', '-Duser.timezone=GMT+08', '-Xdebug']
mainClass = 'com.example.jib.JibApplication'
args = ['some args']
ports = ['8080']
}