anchor.diff:        --osm2pgsql-cache ${OSM2PGSQL_CACHE} && \
       service postgresql stop
   
  -# Set runtime variables
  +# Use safe postgresql configuration
  +USER root
   ARG RUNTIME_THREADS=2
   ARG RUNTIME_MEMORY=8GB
  -
  -# Use safe postgresql configuration
  -USER root
   RUN IMPORT_CONFIG_URL="${PGCONFIG_URL}? \
         format=alter_system& \
         pg_version=${PGSQL_VERSION}& \
  
positive.code: 
  # Initial import
  USER root
  RUN service postgresql start && \
      sudo -u nominatim ${USERHOME}/Nominatim/build/utils/setup.php \
        --osm-file /srv/nominatim/src/data.osm.pbf \
  
negative.code: 
  # Download data for initial import
  USER nominatim
  ARG PBF_URL=https://planet.osm.org/pbf/planet-latest.osm.pbf
  RUN curl -L ${PBF_URL} --create-dirs -o /srv/nominatim/src/data.osm.pbf
  
  # Filter administrative boundaries
  USER nominatim
  ARG BUILD_THREADS=16
  ENV BUILD_THREADS ${BUILD_THREADS}
  ARG IMPORT_ADMINISTRATIVE=false
  ENV IMPORT_ADMINISTRATIVE ${IMPORT_ADMINISTRATIVE}
  COPY scripts /srv/nominatim/scripts/
  RUN /srv/nominatim/scripts/filter_administrative.sh
  
  