mediasuitenz / docker-overpass-api

Docker Overpass API
MIT License
47 stars 25 forks source link

Build error: code 137 #9

Open artais27 opened 8 months ago

artais27 commented 8 months ago

I'm using AWS Ubuntu 22 as host machine.

My command list was:

docker pull mediasuite/overpass-api
git clone https://github.com/mediasuitenz/docker-overpass-api
wget https://download.geofabrik.de/europe-latest.osm.bz2 (renamed to planet.osm.bz2)
sudo docker build -t mediasuite/overpass-api .

It was working for 16 hours and displayed:

....
59608.8 Reading XML file ... elapsed way 169028931. Flushing to database ...... done.
60045.5 Reading XML file ... elapsed way 171236492. /srv/osm3s/bin/init_osm3s.sh: line 44:     9 Broken pipe             bunzip2 < $PLANET_FILE
60064.3         10 Killed                  | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ $META $COMPRESSION
------
Dockerfile:37
--------------------
  36 |     
  37 | >>> RUN /srv/osm3s/bin/init_osm3s.sh "$PLANET_FILE" "$DB_DIR" "$EXEC_DIR" \
  38 | >>>   && rm -f "$PLANET_FILE"
  39 |     
--------------------
ERROR: failed to solve: process "/bin/sh -c /srv/osm3s/bin/init_osm3s.sh \"$PLANET_FILE\" \"$DB_DIR\" \"$EXEC_DIR\"   && rm -f \"$PLANET_FILE\"" did not complete successfully: exit code: 137

What can be done to fix it?