hotfix: Load buildpacks from docker-proxy.knecon.com
This commit is contained in:
parent
f760598d8f
commit
e7ae91af47
@ -40,6 +40,10 @@ description = "persistence-service-server-v1"
|
|||||||
|
|
||||||
tasks.named<BootBuildImage>("bootBuildImage") {
|
tasks.named<BootBuildImage>("bootBuildImage") {
|
||||||
|
|
||||||
|
|
||||||
|
builder.set("docker-proxy.knecon.com/paketobuildpacks/builder:base")
|
||||||
|
runImage.set("docker-proxy.knecon.com/paketobuildpacks/run:base-cnb")
|
||||||
|
|
||||||
environment.put("BPE_DELIM_JAVA_TOOL_OPTIONS", " ")
|
environment.put("BPE_DELIM_JAVA_TOOL_OPTIONS", " ")
|
||||||
environment.put("BPE_APPEND_JAVA_TOOL_OPTIONS", "-Dfile.encoding=UTF-8")
|
environment.put("BPE_APPEND_JAVA_TOOL_OPTIONS", "-Dfile.encoding=UTF-8")
|
||||||
|
|
||||||
@ -48,11 +52,19 @@ tasks.named<BootBuildImage>("bootBuildImage") {
|
|||||||
network.set("host")
|
network.set("host")
|
||||||
}
|
}
|
||||||
docker {
|
docker {
|
||||||
|
|
||||||
if (project.hasProperty("buildbootDockerHostNetwork")) {
|
if (project.hasProperty("buildbootDockerHostNetwork")) {
|
||||||
bindHostToBuilder.set(true)
|
bindHostToBuilder.set(true)
|
||||||
}
|
}
|
||||||
verboseLogging.set(true)
|
verboseLogging.set(true)
|
||||||
|
|
||||||
|
builderRegistry {
|
||||||
|
username.set(providers.gradleProperty("mavenUser").getOrNull())
|
||||||
|
password.set(providers.gradleProperty("mavenPassword").getOrNull())
|
||||||
|
email.set(providers.gradleProperty("mavenEmail").getOrNull())
|
||||||
|
url.set("https://docker-proxy.knecon.com:5001/")
|
||||||
|
}
|
||||||
|
|
||||||
publishRegistry {
|
publishRegistry {
|
||||||
username.set(providers.gradleProperty("mavenUser").getOrNull())
|
username.set(providers.gradleProperty("mavenUser").getOrNull())
|
||||||
password.set(providers.gradleProperty("mavenPassword").getOrNull())
|
password.set(providers.gradleProperty("mavenPassword").getOrNull())
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user