Fix Dockerfile.pg: mkdir conf.d before writing timescaledb preload
Some checks failed
build-and-deploy / build (push) Failing after 15s

This commit is contained in:
sirius0xdev 2026-07-07 18:17:31 -04:00
parent 56ed3d7b7e
commit b40f83f393
No known key found for this signature in database

View file

@ -10,7 +10,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
curl -fsSL https://packagecloud.io/install/repositories/timescale/timescaledb/script.deb.sh | bash && \
apt-get update && apt-get install -y --no-install-recommends \
postgresql-16-postgis-3 timescaledb-2-postgresql-16 && \
# Load TimescaleDB at startup via a drop-in (keeps official entrypoint intact).
mkdir -p /etc/postgresql/16/main/conf.d && \
echo "shared_preload_libraries = 'timescaledb'" > /etc/postgresql/16/main/conf.d/timescaledb.conf && \
rm -rf /var/lib/apt/lists/*