pelias / whosonfirst

Importer for Who's on First gazetteer
MIT License
26 stars 42 forks source link

Remove unnecessary compiler toolchain dependencies #532

Closed orangejulius closed 2 years ago

orangejulius commented 2 years ago

After better-sqlite3 added support for pre-compiled binaries in v6, we no longer need to install a compiler toolchain to run npm install in our Docker images.

https://github.com/pelias/docker-baseimage/pull/23 removes the compiler toolchain from our Pelias baseimages. In order for the toolchain to be removed from the whosonfirst image in particular, we also need to remove those dependencies here.

Until that PR is merged, this change is effectively a no-op. After, between the two PRs we reduce the size of the whosonfirst docker image from 490MB to 261MB, an impressive 221MB savings!