Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Build error: code 137 #9

@artais27

Description

@artais27

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions