Commit c4fdc92
committed
Shrink the images.
- Delete cached files used for installing perl modules. (Saves 650MB!)
- Bookworm only: base on the slim-bookworm base image.
bookworm before: 1.6GB
slim-bookworm: 1.03GB
slim-bookworm clean: 572MB
The larger image (with a ton of files) takes a long time to download and
initialize. (40% of the time to run pause tests in GitHub actions.) A
smaller image is faster to download and unpack.
There is a tiny chance that someone relying on the new bookworm image is
relying on a package that isn't installed by default in the slim images, but
the bookworm image has only existed for a week or so, so there are likely to
be very few users.1 parent e05fc97 commit c4fdc92
2 files changed
+8
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
102 | | - | |
| 101 | + | |
| 102 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
14 | 17 | | |
15 | 18 | | |
16 | 19 | | |
17 | 20 | | |
18 | | - | |
| 21 | + | |
19 | 22 | | |
20 | | - | |
| 23 | + | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
| |||
0 commit comments