{"id": 806136219, "node_id": "PR_kwDOBm6k_c4wDKmb", "number": 1574, "state": "closed", "locked": 0, "title": "introduce new option for datasette package to use a slim base image", "user": {"value": 33631, "label": "fs111"}, "body": "The official python images on docker hub come with a slim variant that is significantly smaller than the default. The diff does not change the default, but allows to switch to the `slim` variant with commandline switch (`--slim-base-image`)\r\n\r\nSize comparison:\r\n\r\n```\r\n$ datasette package some.db -t fat --install \"datasette-basemap datasette-cluster-map\"\r\n\r\n$ datasette package some.db -t slim --slim-base-image --install \"datasette-basemap datasette-cluster-map\"\r\n\r\n$ docker images\r\nREPOSITORY TAG IMAGE ID CREATED SIZE\r\nfat latest 807b393ace0d 9 seconds ago 978MB\r\nslim latest 31bc5e63505c 8 minutes ago 191MB\r\n\r\n```", "created_at": "2021-12-19T21:18:19Z", "updated_at": "2022-08-15T08:49:31Z", "closed_at": "2022-08-15T08:49:31Z", "merged_at": null, "merge_commit_sha": "92ca4a2a9fb44e4cffc71444196753ad4a75a5c8", "assignee": null, "milestone": null, "draft": 0, "head": "8561f0343b2b4213416ca84c8071a5a290f15a42", "base": "8c401ee0f054de2f568c3a8302c9223555146407", "author_association": "NONE", "repo": {"value": 107914493, "label": "datasette"}, "url": "https://github.com/simonw/datasette/pull/1574", "merged_by": null, "auto_merge": null}