diff --git a/Dockerfile.compute-node-v14 b/Dockerfile.compute-node-v14 index e7fba49bb1..5e683b1615 100644 --- a/Dockerfile.compute-node-v14 +++ b/Dockerfile.compute-node-v14 @@ -29,7 +29,12 @@ RUN cd postgres && \ make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C contrib/ install && \ # Install headers make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/include install && \ - make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/interfaces/libpq install + make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/interfaces/libpq install && \ + # Enable some of contrib extensions + echo 'trusted = true' >> /usr/local/pgsql/share/extension/bloom.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/pgrowlocks.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/intagg.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/pgstattuple.control ######################################################################################### # @@ -55,7 +60,10 @@ RUN wget https://download.osgeo.org/postgis/source/postgis-3.3.1.tar.gz && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis.control && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_raster.control && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_tiger_geocoder.control && \ - echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_topology.control + echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_topology.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/address_standardizer.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/address_standardizer_data_us.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_sfcgal.control ######################################################################################### # diff --git a/Dockerfile.compute-node-v15 b/Dockerfile.compute-node-v15 index cd03525b97..60dd7df713 100644 --- a/Dockerfile.compute-node-v15 +++ b/Dockerfile.compute-node-v15 @@ -29,7 +29,12 @@ RUN cd postgres && \ make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C contrib/ install && \ # Install headers make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/include install && \ - make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/interfaces/libpq install + make MAKELEVEL=0 -j $(getconf _NPROCESSORS_ONLN) -s -C src/interfaces/libpq install && \ + # Enable some of contrib extensions + echo 'trusted = true' >> /usr/local/pgsql/share/extension/bloom.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/pgrowlocks.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/intagg.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/pgstattuple.control ######################################################################################### # @@ -55,7 +60,10 @@ RUN wget https://download.osgeo.org/postgis/source/postgis-3.3.1.tar.gz && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis.control && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_raster.control && \ echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_tiger_geocoder.control && \ - echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_topology.control + echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_topology.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/address_standardizer.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/address_standardizer_data_us.control && \ + echo 'trusted = true' >> /usr/local/pgsql/share/extension/postgis_sfcgal.control ######################################################################################### #