chore(deps): update TimescaleDB to 2.28.3 and VectorChord to v1.1.1
🚀 Docker Build and Push / build-and-push (15) (push) Successful in 14m53s
🚀 Docker Build and Push / build-and-push (16) (push) Successful in 14m55s
🚀 Docker Build and Push / build-and-push (17) (push) Successful in 14m39s
🚀 Docker Build and Push / build-and-push (18) (push) Failing after 15m10s
🚀 Docker Build and Push / build-and-push (15) (push) Successful in 14m53s
🚀 Docker Build and Push / build-and-push (16) (push) Successful in 14m55s
🚀 Docker Build and Push / build-and-push (17) (push) Successful in 14m39s
🚀 Docker Build and Push / build-and-push (18) (push) Failing after 15m10s
Fixes CRLF line endings in Docker entrypoint scripts.
This commit is contained in:
+8
-6
@@ -4,7 +4,7 @@ ARG PG_VERSION=18
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Builder stage - Compile TimescaleDB
|
# Builder stage - Compile TimescaleDB
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
FROM tensorchord/vchord-postgres:pg${PG_VERSION}-v1.0.0 AS builder
|
FROM tensorchord/vchord-postgres:pg${PG_VERSION}-v1.1.1 AS builder
|
||||||
|
|
||||||
USER root
|
USER root
|
||||||
|
|
||||||
@@ -19,7 +19,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Build TimescaleDB from source (stable release)
|
# Build TimescaleDB from source (stable release)
|
||||||
ARG TIMESCALEDB_VERSION=2.24.0
|
ARG TIMESCALEDB_VERSION=2.28.3
|
||||||
WORKDIR /build/timescaledb
|
WORKDIR /build/timescaledb
|
||||||
RUN git clone --branch ${TIMESCALEDB_VERSION} --depth 1 https://github.com/timescale/timescaledb.git . \
|
RUN git clone --branch ${TIMESCALEDB_VERSION} --depth 1 https://github.com/timescale/timescaledb.git . \
|
||||||
&& ./bootstrap -DREGRESS_CHECKS=OFF -DWARNINGS_AS_ERRORS=OFF \
|
&& ./bootstrap -DREGRESS_CHECKS=OFF -DWARNINGS_AS_ERRORS=OFF \
|
||||||
@@ -28,7 +28,7 @@ RUN git clone --branch ${TIMESCALEDB_VERSION} --depth 1 https://github.com/times
|
|||||||
# =============================================================================
|
# =============================================================================
|
||||||
# Final stage - Clean runtime image
|
# Final stage - Clean runtime image
|
||||||
# =============================================================================
|
# =============================================================================
|
||||||
FROM tensorchord/vchord-postgres:pg${PG_VERSION}-v1.0.0 AS final
|
FROM tensorchord/vchord-postgres:pg${PG_VERSION}-v1.1.1 AS final
|
||||||
|
|
||||||
# OCI Labels
|
# OCI Labels
|
||||||
LABEL org.opencontainers.image.title="TimescaleDB + VectorChord + pgvector"
|
LABEL org.opencontainers.image.title="TimescaleDB + VectorChord + pgvector"
|
||||||
@@ -36,7 +36,7 @@ LABEL org.opencontainers.image.description="PostgreSQL with TimescaleDB, VectorC
|
|||||||
LABEL org.opencontainers.image.source="https://gitea.killinger.fr/maxime.killinger/postgres-ts-vectors"
|
LABEL org.opencontainers.image.source="https://gitea.killinger.fr/maxime.killinger/postgres-ts-vectors"
|
||||||
LABEL org.opencontainers.image.vendor="Maxime Killinger"
|
LABEL org.opencontainers.image.vendor="Maxime Killinger"
|
||||||
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
LABEL org.opencontainers.image.licenses="Apache-2.0"
|
||||||
LABEL org.opencontainers.image.base.name="tensorchord/vchord-postgres:pg${PG_VERSION}-v1.0.0"
|
LABEL org.opencontainers.image.base.name="tensorchord/vchord-postgres:pg${PG_VERSION}-v1.1.1"
|
||||||
|
|
||||||
# Copy TimescaleDB from builder
|
# Copy TimescaleDB from builder
|
||||||
COPY --from=builder /tmp/timescaledb/usr/lib/postgresql/ /usr/lib/postgresql/
|
COPY --from=builder /tmp/timescaledb/usr/lib/postgresql/ /usr/lib/postgresql/
|
||||||
@@ -44,11 +44,13 @@ COPY --from=builder /tmp/timescaledb/usr/share/postgresql/ /usr/share/postgresql
|
|||||||
|
|
||||||
# Add init script for auto-extension creation
|
# Add init script for auto-extension creation
|
||||||
COPY init-extensions.sh /docker-entrypoint-initdb.d/
|
COPY init-extensions.sh /docker-entrypoint-initdb.d/
|
||||||
RUN chmod +x /docker-entrypoint-initdb.d/init-extensions.sh
|
RUN sed -i 's/\r$//' /docker-entrypoint-initdb.d/init-extensions.sh && \
|
||||||
|
chmod +x /docker-entrypoint-initdb.d/init-extensions.sh
|
||||||
|
|
||||||
# Add entrypoint wrapper to fix volume permissions at runtime
|
# Add entrypoint wrapper to fix volume permissions at runtime
|
||||||
COPY docker-entrypoint-wrapper.sh /usr/local/bin/
|
COPY docker-entrypoint-wrapper.sh /usr/local/bin/
|
||||||
RUN chmod +x /usr/local/bin/docker-entrypoint-wrapper.sh
|
RUN sed -i 's/\r$//' /usr/local/bin/docker-entrypoint-wrapper.sh && \
|
||||||
|
chmod +x /usr/local/bin/docker-entrypoint-wrapper.sh
|
||||||
|
|
||||||
# Healthcheck
|
# Healthcheck
|
||||||
HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=60s --retries=3 \
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ Docker image combining **PostgreSQL** with three powerful extensions:
|
|||||||
|
|
||||||
| Tag | PostgreSQL | TimescaleDB | VectorChord | pgvector |
|
| Tag | PostgreSQL | TimescaleDB | VectorChord | pgvector |
|
||||||
|-----|------------|-------------|-------------|----------|
|
|-----|------------|-------------|-------------|----------|
|
||||||
| `pg15` | 15 | 2.24.0 | 1.0.0 | 0.8.1 |
|
| `pg15` | 15 | 2.28.3 | 1.1.1 | 0.8.1 |
|
||||||
| `pg16` | 16 | 2.24.0 | 1.0.0 | 0.8.1 |
|
| `pg16` | 16 | 2.28.3 | 1.1.1 | 0.8.1 |
|
||||||
| `pg17` | 17 | 2.24.0 | 1.0.0 | 0.8.1 |
|
| `pg17` | 17 | 2.28.3 | 1.1.1 | 0.8.1 |
|
||||||
| `pg18`, `latest` | 18 | 2.24.0 | 1.0.0 | 0.8.1 |
|
| `pg18`, `latest` | 18 | 2.28.3 | 1.1.1 | 0.8.1 |
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user