fix(image): drop the unused libpython shared libraries from the ci image
The ci 0.2.26 build succeeded but its push got HTTP 413 from Cloudflare: the /opt/python layer, now three baked interpreters (3.11, 3.13, 3.14), was 99.1 MB compressed (the registry stores about 9% more), over the 95 MiB limit. Each python-build-standalone interpreter ships a ~33 MB lib/libpython<MINOR>.so next to a statically linked python binary that does not use it. Remove it unless the binary links it. /opt/python goes from 95.8 to 67.7 MB compressed in a local run; all three interpreters still import ssl, sqlite3 and venv. ci image 0.2.26 (never published) -> 0.2.27. Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_014uGZTNmHMc85bomfevwUDG
This commit is contained in:
1 parent
8239ba2bd4
commit
cf5f4b596c
3 files changed
+20
-2
No files matched your search
@@ -88,7 +88,7 @@ jobs:
|
||||
dockerfile: Dockerfile
|
||||
job_image: ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96
|
||||
- name: ci
|
||||
version: 0.2.26
|
||||
version: 0.2.27
|
||||
subpath: ""
|
||||
dockerfile: images/ci/Dockerfile
|
||||
job_image: ubuntu:26.04@sha256:065aa8626841f16057b78b027b464cd59c4fac36c204c72dcbf48d66f5fa8a96
|
||||
|
||||
Reference in new issue
Block a user