From 71dd2ec8746125a3d8a3d002fb9c9470bd5c91bb Mon Sep 17 00:00:00 2001 From: Isaev Denis Date: Mon, 3 Oct 2016 15:21:59 +0300 Subject: [PATCH] --flush-size=1 for low memory machines --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index bc7f501..ff3bfcf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -24,6 +24,7 @@ RUN build_deps="g++ make expat libexpat1-dev zlib1g-dev curl" \ && cd osm-3s_v* \ && ./configure CXXFLAGS="-O3" --prefix="$EXEC_DIR" \ && make install \ + && sed -i 's/update_database /update_database --flush-size=1 /' /srv/osm3s/bin/init_osm3s.sh \ && cd .. \ && rm -rf osm-3s_v* \ && apt-get purge -y --auto-remove $build_deps