Skip to content

Commit 453735a

Browse files
chore: restore postgres version build arg
1 parent 2831f7e commit 453735a

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

docker/pg-Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
#ARG POSTGRES_VERSION=16-alpine
2-
#FROM postgres:$POSTGRES_VERSION
1+
ARG POSTGRES_VERSION=16-alpine
2+
FROM postgres:$POSTGRES_VERSION
33
FROM postgres:latest
44

55
# Variables needed at runtime to configure postgres and run the initdb scripts

tiltfiles/pocketdex.tilt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ def pocketdex(pocketdex_root, *,
66
indexer_values_path,
77
gql_engine_values_path):
88

9-
docker_build("postgres-custom", pocketdex_root, dockerfile="{}/docker/pg-Dockerfile".format(pocketdex_root))
9+
docker_build("postgres-custom",
10+
pocketdex_root,
11+
dockerfile="{}/docker/pg-Dockerfile".format(pocketdex_root),
12+
build_args={"POSTGRES_VERSION": "16-alpine"})
1013

1114
docker_build("indexer", pocketdex_root,
1215
dockerfile="{}/docker/dev-node.dockerfile".format(pocketdex_root),

0 commit comments

Comments
 (0)