FROM postgres:17.0 RUN apt-get update && \ apt-get install -y postgis postgresql-9.5-postgis-scripts && \ apt-get clean && \ rm -rf /var/lib/apt/lists/* COPY setup.sql /docker-entrypoint-initdb.d/