{"html_url": "https://github.com/simonw/datasette/issues/1768#issuecomment-1176550192", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1768", "id": 1176550192, "node_id": "IC_kwDOBm6k_c5GILsw", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-07-06T18:39:11Z", "updated_at": "2022-07-06T18:39:11Z", "author_association": "OWNER", "body": "Relevant Twitter thread: https://twitter.com/simonw/status/1544710944462254080\r\n\r\nLooks like `python:3.10-slim-bullseye` is a good option, see https://pythonspeed.com/articles/base-image-python-docker-images/", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1296222572, "label": "Upgrade to 3.10.6-slim-bullseye Docker base image"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1768#issuecomment-1177966193", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1768", "id": 1177966193, "node_id": "IC_kwDOBm6k_c5GNlZx", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-07-07T17:25:22Z", "updated_at": "2022-07-07T17:25:22Z", "author_association": "OWNER", "body": "I tried this on Datasette Cloud and swapping `datasetteproject/datasette` to `python:3.10-slim-bullseye` as the base image dropped the overall image size from ~232MB to ~166MB - but note that I don't have SpatiaLite in that second image.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1296222572, "label": "Upgrade to 3.10.6-slim-bullseye Docker base image"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1768#issuecomment-1214403875", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1768", "id": 1214403875, "node_id": "IC_kwDOBm6k_c5IYlUj", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T15:46:49Z", "updated_at": "2022-08-14T15:46:49Z", "author_association": "OWNER", "body": "https://hub.docker.com/layers/python/library/python/3.10.6-slim-bullseye/images/sha256-cf85cd32e60184a94d88a0103c289d09024abffaa77680d116d7cc837668ea15?context=explore is the most recent - `3.10.6-slim-bullseye`.", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1296222572, "label": "Upgrade to 3.10.6-slim-bullseye Docker base image"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1768#issuecomment-1214404690", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1768", "id": 1214404690, "node_id": "IC_kwDOBm6k_c5IYlhS", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T15:52:02Z", "updated_at": "2022-08-14T15:52:02Z", "author_association": "OWNER", "body": "Tested locally with:\r\n\r\n datasette package fixtures.db --extra-options=\"--setting sql_time_limit_ms 2500\" \\\r\n -t datasette-package-python-upgrade\r\n\r\nAnd then:\r\n\r\n```\r\ndocker run -p 8081:8001 datasette-package-python-upgrade\r\nINFO: Started server process [8]\r\nINFO: Waiting for application startup.\r\nINFO: Application startup complete.\r\nINFO: Uvicorn running on http://0.0.0.0:8001 (Press CTRL+C to quit)\r\n```\r\n\"image\"", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1296222572, "label": "Upgrade to 3.10.6-slim-bullseye Docker base image"}, "performed_via_github_app": null} {"html_url": "https://github.com/simonw/datasette/issues/1768#issuecomment-1214405023", "issue_url": "https://api.github.com/repos/simonw/datasette/issues/1768", "id": 1214405023, "node_id": "IC_kwDOBm6k_c5IYlmf", "user": {"value": 9599, "label": "simonw"}, "created_at": "2022-08-14T15:54:11Z", "updated_at": "2022-08-14T15:54:11Z", "author_association": "OWNER", "body": "Also trying this locally:\r\n\r\n datasette publish cloudrun fixtures.db --service issue-1768\r\n\r\nhttps://issue-1768-j7hipcg4aq-uc.a.run.app/-/versions\r\n\r\n\"image\"\r\n", "reactions": "{\"total_count\": 0, \"+1\": 0, \"-1\": 0, \"laugh\": 0, \"hooray\": 0, \"confused\": 0, \"heart\": 0, \"rocket\": 0, \"eyes\": 0}", "issue": {"value": 1296222572, "label": "Upgrade to 3.10.6-slim-bullseye Docker base image"}, "performed_via_github_app": null}