simonw/datasette

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

Open

#327 aberto em 24 de jun. de 2018

Ver no GitHub
 (4 comments) (0 reactions) (0 assignees)Python (8.637 stars) (625 forks)batch import
help wantedresearch

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.

Guia do colaborador