Skip to content

Commit

Permalink
Custom buildpacks bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
rigofunc committed Jun 27, 2024
1 parent b90770a commit 28cfaab
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 5 deletions.
4 changes: 3 additions & 1 deletion mall-catalog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,10 @@ bootRun {
bootBuildImage {
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
// https://paketo.io/docs/howto/configuration/#building-behind-a-firewall
bindings = ['/home/rigofunc/bindings:/platform/bindings']
imageName = "${project.name}"
environment = ["BP_JVM_VERSION": "17"]
environment = ["BP_JVM_VERSION": "17", "BP_LOG_LEVEL": "DEBUG"]

docker {
publishRegistry {
Expand Down
3 changes: 2 additions & 1 deletion mall-config/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ dependencyManagement {
bootBuildImage {
builder = "paketobuildpacks/builder-jammy-base:latest"
pullPolicy = "IF_NOT_PRESENT"
bindings = ['/home/rigofunc/bindings:/platform/bindings']
imageName = "${project.name}"
environment = ["BP_JVM_VERSION": "17"]
environment = ["BP_JVM_VERSION": "17", "BP_LOG_LEVEL": "DEBUG"]

docker {
publishRegistry {
Expand Down
3 changes: 2 additions & 1 deletion mall-dispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,10 @@ dependencyManagement {

bootBuildImage {
builder = "paketobuildpacks/builder-jammy-base:latest"
bindings = ['/home/rigofunc/bindings:/platform/bindings']
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]
environment = ["BP_JVM_VERSION" : "17", "BP_LOG_LEVEL": "DEBUG"]

docker {
publishRegistry {
Expand Down
3 changes: 2 additions & 1 deletion mall-edge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ dependencyManagement {

bootBuildImage {
builder = "paketobuildpacks/builder-jammy-base:latest"
bindings = ['/home/rigofunc/bindings:/platform/bindings']
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]
environment = ["BP_JVM_VERSION" : "17", "BP_LOG_LEVEL": "DEBUG"]

docker {
publishRegistry {
Expand Down
3 changes: 2 additions & 1 deletion mall-order/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,10 @@ dependencyManagement {

bootBuildImage {
builder = "paketobuildpacks/builder-jammy-base:latest"
bindings = ['/home/rigofunc/bindings:/platform/bindings']
pullPolicy = "IF_NOT_PRESENT"
imageName = "${project.name}"
environment = ["BP_JVM_VERSION" : "17"]
environment = ["BP_JVM_VERSION" : "17", "BP_LOG_LEVEL": "DEBUG"]

docker {
publishRegistry {
Expand Down

0 comments on commit 28cfaab

Please sign in to comment.