Skip to content

Instantly share code, notes, and snippets.

@yonaichin
Created July 30, 2018 01:36
Show Gist options
  • Save yonaichin/8abd36f50463fe0144900ff9a7cb4b13 to your computer and use it in GitHub Desktop.
Save yonaichin/8abd36f50463fe0144900ff9a7cb4b13 to your computer and use it in GitHub Desktop.
Step 21/68 : USER root
---> Using cache
---> 5d2afb591f53
Step 22/68 : RUN useradd -d /srv/nominatim -s /bin/bash -m nominatim
---> Using cache
---> 7ec812622f26
Step 23/68 : ENV USERNAME nominatim
---> Using cache
---> b6f437acc9c3
Step 24/68 : ENV USERHOME /srv/nominatim
---> Using cache
---> 71f7dd3b7ed7
Step 25/68 : RUN chmod a+x ${USERHOME}
---> Using cache
---> c48ce18ce9d7
Step 26/68 : USER nominatim
---> Using cache
---> 46b9970ddc0b
Step 27/68 : ARG REPLICATION_URL=https://planet.osm.org/replication/hour/
---> Using cache
---> b8bd0a8cac04
Step 28/68 : WORKDIR /srv/nominatim
---> Using cache
---> d48d3d3ec34b
Step 29/68 : RUN git clone --recursive git://github.com/openstreetmap/Nominatim.git
---> Using cache
---> b994f488e09e
Step 30/68 : RUN echo $'<?php\n @define('CONST_Postgresql_Version', '${PGSQL_VERSION}'); \n @define('CONST_Postgis_Version', '${POSTGIS_VERSION}'); \n @define('CONST_Osm2pgsql_Flatnode_File', '/srv/nominatim/flatnode'); \n @define('CONST_Pyosmium_Binary', '/usr/local/bin/pyosmium-get-changes'); \n @define('CONST_Website_BaseURL', '/nominatim/'); \n @define('CONST_Replication_Url', '${REPLICATION_URL}'); \n @define('CONST_Replication_MaxInterval', '86400'); \n @define('CONST_Replication_Update_Interval', '86400'); \n @define('CONST_Replication_Recheck_Interval', '900'); \n' > ./Nominatim/settings/local.php
---> Using cache
---> 4f692f8b3146
Step 31/68 : RUN wget -O Nominatim/data/country_osm_grid.sql.gz http://www.nominatim.org/data/country_grid.sql.gz
---> Using cache
---> 1cf1128fea88
Step 32/68 : RUN mkdir ${USERHOME}/Nominatim/build && cd ${USERHOME}/Nominatim/build && cmake ${USERHOME}/Nominatim && make
---> Using cache
---> 911a1bda219d
Step 33/68 : USER nominatim
---> Using cache
---> 669fe1376c0f
Step 34/68 : ARG PBF_URL=https://planet.osm.org/pbf/planet-latest.osm.pbf
---> Running in 9b880120babb
Removing intermediate container 9b880120babb
---> a7e21f0f21fc
Step 35/68 : RUN curl -L ${PBF_URL} --create-dirs -o /srv/nominatim/src/data.osm.pbf
---> Running in 4ecca7c50293
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
1 40.8G 1 604M 0 0 487k 0 24:22:52 0:21:09 24:01:43 372k
100 40.8G 100 40.8G 0 0 993k 0 11:58:23 11:58:23 --:--:-- 2373k
Error processing tar file(exit status 1): unexpected EOF
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment