diff --git a/timeseries-pg/Dockerfile b/timeseries-pg/Dockerfile index 376e3d7..64fcf4a 100644 --- a/timeseries-pg/Dockerfile +++ b/timeseries-pg/Dockerfile @@ -1,4 +1,4 @@ -FROM postgres:17 as builder +FROM postgres:16 AS builder RUN apt-get update \ && apt-get install -y \ @@ -10,7 +10,7 @@ RUN apt-get update \ libssl-dev \ make \ pkg-config \ - postgresql-server-dev-17 + postgresql-server-dev-16 WORKDIR /timeseries @@ -41,7 +41,7 @@ RUN git clone https://github.com/hydradatabase/hydra && \ COPY . . RUN make && make install || true -FROM postgres:17-bookworm +FROM postgres:16-bookworm COPY --from=builder /usr/share/postgresql/16/extension /usr/share/postgresql/16/extension COPY --from=builder /usr/lib/postgresql/16/lib /usr/lib/postgresql/16/lib