simonw/datasette

Explore if SquashFS can be used to shrink size of packaged Docker containers

Open

#327 opened on Jun 24, 2018

View on GitHub
 (4 comments) (0 reactions) (0 assignees)Python (625 forks)batch import
help wantedresearch

Repository metrics

Stars
 (8,637 stars)
PR merge metrics
 (Avg merge 67d 23h) (19 merged PRs in 30d)

Description

Inspired by this article: https://cldellow.com/2018/06/22/sqlite-parquet-vtable.html#sqlite-database-indexed--squashed

https://en.wikipedia.org/wiki/SquashFS is "a compressed read-only file system for Linux" - which means it could be a really nice fit for Datasette and its read-only SQLite databases.

It would be interesting to explore a Dockerfile recipe that used SquashFS to compress the SQLite database file that was bundled up by datasette package and friends.

Contributor guide