TimescaleDB 2.30.2 pour PostgreSQL 16 à 18, 2.28.3 gardé pour PostgreSQL 15
🚀 Docker Build and Push / build-and-push (15) (push) Successful in 2m58s
🚀 Docker Build and Push / build-and-push (16) (push) Successful in 3m39s
🚀 Docker Build and Push / build-and-push (17) (push) Successful in 3m37s
🚀 Docker Build and Push / build-and-push (18) (push) Successful in 3m36s

- TIMESCALEDB_VERSION passe de 2.28.3 à 2.30.2. Vérifié pour 16, 17 et 18 :
  compilation, tests, et reprise d'une base créée par l'image publiée après
  `ALTER EXTENSION timescaledb UPDATE`.
- TimescaleDB 2.29 a retiré PostgreSQL 15 (`Unsupported PostgreSQL version` à la
  compilation) : `pg15` garde 2.28.3 par TIMESCALEDB_VERSION_PG15.
- Décision 0007, tableau et badge du README, procédure de changement de version.

Une base existante refuse toute requête sur la nouvelle image tant que
l'extension n'est pas mise à niveau : voir docs/exploitation/publication.md.
This commit is contained in:
maxime.killinger committed 2026-10-02 18:02:35 +02:00
1 parent 7de55c5655
commit a57c520610
6 files changed
+62 -22

No files matched your search

+6 -3
View File
@@ -37,10 +37,13 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
postgresql-server-dev-$PG_MAJOR="$(dpkg-query -W -f='${Version}' postgresql-$PG_MAJOR)" \
&& rm -rf /var/lib/apt/lists/*
# TimescaleDB compilé depuis l'étiquette de la version stable
ARG TIMESCALEDB_VERSION=2.28.3
# TimescaleDB compilé depuis l'étiquette de la version stable.
# TimescaleDB 2.29 a abandonné PostgreSQL 15, qui garde la dernière version qui le gère.
ARG TIMESCALEDB_VERSION=2.30.2
ARG TIMESCALEDB_VERSION_PG15=2.28.3
WORKDIR /build/timescaledb
RUN git clone --branch ${TIMESCALEDB_VERSION} --depth 1 https://github.com/timescale/timescaledb.git . \
RUN if [ "$PG_MAJOR" = 15 ]; then version="$TIMESCALEDB_VERSION_PG15"; else version="$TIMESCALEDB_VERSION"; fi \
&& git clone --branch "$version" --depth 1 https://github.com/timescale/timescaledb.git . \
&& ./bootstrap -DREGRESS_CHECKS=OFF -DWARNINGS_AS_ERRORS=OFF \
&& cd build && make -j$(nproc) && make install DESTDIR=/tmp/timescaledb