Skip to content

Commit

Permalink
Add pg_ivm to the base hydra image (#67)
Browse files Browse the repository at this point in the history
  • Loading branch information
JerrySievert committed May 5, 2023
1 parent 8709a5d commit b017ad5
Showing 1 changed file with 54 additions and 0 deletions.
54 changes: 54 additions & 0 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,60 @@ target "columnar_15" {

cache-to = ["type=local,dest=tmp/bake_cache/columnar_15"]
cache-from = ["type=local,src=tmp/bake_cache/columnar_15"]

target "ivm" {
inherits = ["shared"]
context = "third-party/ivm"
target = "output"

args = {
PGSQL_IVM_TAG = "v1.5.1"
}
}

target "ivm_13" {
inherits = ["ivm"]

contexts = {
postgres_base = "docker-image://postgres:13"
}

args = {
POSTGRES_BASE_VERSION = 13
}

cache-to = ["type=local,dest=tmp/bake_cache/ivm_13"]
cache-from = ["type=local,src=tmp/bake_cache/ivm_13"]
}

target "ivm_14" {
inherits = ["ivm"]

contexts = {
postgres_base = "docker-image://postgres:14"
}

args = {
POSTGRES_BASE_VERSION = 14
}

cache-to = ["type=local,dest=tmp/bake_cache/ivm_14"]
cache-from = ["type=local,src=tmp/bake_cache/ivm_14"]
}

target "ivm_15" {
inherits = ["ivm"]

contexts = {
postgres_base = "docker-image://postgres:15"
}

args = {
POSTGRES_BASE_VERSION = 14
}

cache-to = ["type=local,dest=tmp/bake_cache/ivm_15"]
cache-from = ["type=local,src=tmp/bake_cache/ivm_15"]
}

target "ivm" {
Expand Down

0 comments on commit b017ad5

Please sign in to comment.