Fix Dockerfile.pg: mkdir conf.d before writing timescaledb preload
Some checks failed
build-and-deploy / build (push) Failing after 15s
Some checks failed
build-and-deploy / build (push) Failing after 15s
This commit is contained in:
parent
56ed3d7b7e
commit
b40f83f393
1 changed files with 1 additions and 1 deletions
|
|
@ -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 && \
|
curl -fsSL https://packagecloud.io/install/repositories/timescale/timescaledb/script.deb.sh | bash && \
|
||||||
apt-get update && apt-get install -y --no-install-recommends \
|
apt-get update && apt-get install -y --no-install-recommends \
|
||||||
postgresql-16-postgis-3 timescaledb-2-postgresql-16 && \
|
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 && \
|
echo "shared_preload_libraries = 'timescaledb'" > /etc/postgresql/16/main/conf.d/timescaledb.conf && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue