Skip to content

Commit b7e67c0

Browse files
committed
Reverted to specific ts2.22 due to timescale/timescaledb-docker-ha#601
1 parent b1fe9b8 commit b7e67c0

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
ARG PG_MAJOR=17
22
ARG PREV_PG_MAJOR=15
3+
ARG TIMESCALE_VERSION=2.22
34

45
# Stage 1: Get PostgreSQL ${PREV_PG_MAJOR} binaries for upgrade support
5-
FROM timescale/timescaledb-ha:pg${PG_MAJOR}-all AS pg-all
6+
FROM timescale/timescaledb-ha:pg${PG_MAJOR}-ts${TIMESCALE_VERSION}-all AS pg-all
67

78
USER root
89

@@ -17,7 +18,7 @@ RUN find /usr/lib/postgresql/${PREV_PG_MAJOR} -type f -name '*.so*' -exec strip
1718
/usr/share/postgresql/${PREV_PG_MAJOR}/contrib
1819

1920
# Stage 2: Prepare the main image with UID/GID changes and cleanup
20-
FROM timescale/timescaledb-ha:pg${PG_MAJOR} AS final
21+
FROM timescale/timescaledb-ha:pg${PG_MAJOR}-ts${TIMESCALE_VERSION} AS final
2122
LABEL maintainer="support@openremote.io"
2223

2324
USER root

0 commit comments

Comments
 (0)