A magnitude 5.7 earthquake struck Halmahera, Indonesia, on Thursday, the German Research Centre for Geosciences (GFZ) said. The quake was at a depth of 10 km (6.21 miles), GFZ said.