A magnitude 5.7 earthquake struck 157 miles (250 km) south-southwest of Sibolga in Sumatra, Indonesia, on Wednesday at a depth of 6 miles, the U.S. Geological Survey said.