consensus/docker/postgres/Dockerfile
DataHoarder f0d81343cc
All checks were successful
continuous-integration/drone/push Build is passing
Use pg_ivm extension for incremental materialized view updates, bump to postgres 15.3
2023-05-29 16:01:41 +02:00

13 lines
392 B
Docker

FROM postgres:15.3
RUN apt-get update \
&& apt-get install -y --no-install-recommends git ca-certificates make gcc postgresql-server-dev-$PG_MAJOR=$PG_VERSION \
&& rm -rf /var/lib/apt/lists/*
RUN git clone --branch v1.5.1 --depth 1 https://github.com/sraoss/pg_ivm.git /usr/src/pg_ivm \
&& cd /usr/src/pg_ivm \
&& make install \
&& cd / \
&& rm -rf /usr/src/pg_ivm