Skip to content

Commit 6b76580

Browse files
chore: restore postgres version build arg
1 parent 2831f7e commit 6b76580

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

docker/pg-Dockerfile

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

54
# Variables needed at runtime to configure postgres and run the initdb scripts
65
ENV POSTGRES_DB 'postgres'

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)