jib {
allowInsecureRegistries = true
from {
//We don't need Java we need 'sh' to copy the file to the right location
image ='docker://busybox'
}
to {
image = imageName
tags = [imageTag.toString()+"-"+System.currentTimeMillis(), 'latest']
}
container {
creationTime = "USE_CURRENT_TIMESTAMP"
//Just a dummy entrypoint
entrypoint = ['/bin/sh','-c','sleep', '1']
}
extraDirectories {
paths {
path {
// copies the contents of libs directory into / on the container
from = file('build/libs')
}
}
}
}
--
You received this message because you are subscribed to a topic in the Google Groups "Jib users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jib-users/b1BHRzvU_Ek/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jib-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jib-users/9796b747-50f5-4f81-8585-981a5978ed22n%40googlegroups.com.