Skip to content

Commit

Permalink
Custom buildpacks bindings for optimizing tilt performance
Browse files Browse the repository at this point in the history
  • Loading branch information
rigofunc committed Jun 28, 2024
1 parent 0dc65a8 commit 12572c3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion mall-catalog/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ 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']
bindings = ['/home/rigofunc/bindings:/platform/bindings', '/home/rigofunc/deps/:/deps/']
imageName = "${project.name}"
environment = ["BP_JVM_VERSION": "17", "BP_LOG_LEVEL": "DEBUG"]

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

Expand Down
2 changes: 1 addition & 1 deletion mall-dispatcher/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ dependencyManagement {

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

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

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

0 comments on commit 12572c3

Please sign in to comment.