forked from duckdb/pg_duckdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
63 lines (49 loc) · 854 Bytes
/
docker-bake.hcl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
variable "REPO" {
default = "pgduckdb/pgduckdb"
}
variable "POSTGRES_VERSION" {
default = "16"
}
target "shared" {
platforms = [
"linux/amd64",
"linux/arm64"
]
}
target "postgres" {
inherits = ["shared"]
contexts = {
postgres_base = "docker-image://postgres:${POSTGRES_VERSION}-bookworm"
}
args = {
POSTGRES_VERSION = "${POSTGRES_VERSION}"
}
tags = [
"${REPO}:${POSTGRES_VERSION}-dev",
]
}
target "pg_duckdb" {
inherits = ["postgres"]
target = "output"
}
target "pg_duckdb_15" {
inherits = ["pg_duckdb"]
args = {
POSTGRES_VERSION = "15"
}
}
target "pg_duckdb_16" {
inherits = ["pg_duckdb"]
args = {
POSTGRES_VERSION = "16"
}
}
target "pg_duckdb_17" {
inherits = ["pg_duckdb"]
args = {
POSTGRES_VERSION = "17"
}
}
target "default" {
inherits = ["pg_duckdb_16"]
}