11FROM postgres:17-bullseye
22
3- ENV POSTGIS_MAJOR 3
4- ENV POSTGIS_VERSION 3.5.0+dfsg-1.pgdg110+1
5- ENV POSTGRES_INITDB_ARGS "--data-checksums"
3+ LABEL maintainer="HIPAA Postgres w/ PostGIS Project" \
4+ org.opencontainers.image.description="PostGIS 3.5.0+dfsg-1.pgdg110+1 spatial database extension and PGPool with PostgreSQL 17 bullseye" \
5+ org.opencontainers.image.source="https://github.com/netreconlab/hipaa-postgres/"
6+
7+ ENV POSTGIS_MAJOR=3
8+ ENV POSTGIS_VERSION=3.5.0+dfsg-1.pgdg110+1
9+ ENV POSTGRES_INITDB_ARGS="--data-checksums"
610
711RUN apt-get update \
812 && apt-cache showpkg postgresql-$PG_MAJOR-postgis-$POSTGIS_MAJOR \
@@ -20,6 +24,8 @@ RUN apt-get update \
2024 postgresql-$PG_MAJOR-pgaudit \
2125 postgresql-$PG_MAJOR-set-user \
2226 postgresql-$PG_MAJOR-repack \
27+ postgresql-$PG_MAJOR-cron \
28+ postgresql-$PG_MAJOR-pgrouting \
2329 postgresql-$PG_MAJOR-pgpool2\
2430 && rm -rf /var/lib/apt/lists/* \
2531 && mkdir -p /docker-entrypoint-initdb.d
@@ -47,5 +53,5 @@ RUN chmod +x /docker-entrypoint-initdb.d/setup-0-pgaudit.sh \
4753 /usr/local/bin/setup-parse-index.sh
4854
4955USER postgres
50- CMD ["postgres", "-c", "shared_preload_libraries=pgaudit"]
56+ CMD ["postgres", "-c", "shared_preload_libraries=pg_stat_statements, pgaudit,pg_cron "]
5157EXPOSE 22
0 commit comments