X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c514fd62fe005d8d41a39e11508a3aee6ba9946d..f9b0490afcf5cbcb279b6ba504995214a86619c6:/docker/postgres/Dockerfile?ds=sidebyside diff --git a/docker/postgres/Dockerfile b/docker/postgres/Dockerfile index 672e2e7a6..9faddd841 100644 --- a/docker/postgres/Dockerfile +++ b/docker/postgres/Dockerfile @@ -2,3 +2,6 @@ FROM postgres:11 # Add db init script to install OSM-specific Postgres functions/extensions. ADD docker/postgres/openstreetmap-postgres-init.sh /docker-entrypoint-initdb.d/ + +# Custom database functions are in a SQL file. +ADD db/functions/functions.sql /usr/local/sbin/osm-db-functions.sql