andk / pause

Perl authors upload server
http://pause.perl.org/
150 stars 57 forks source link

tests: switch to slim-bookworm base image #519

Closed rspier closed 4 months ago

rspier commented 4 months ago

The slim-bookworm base image (https://github.com/Perl/docker-perl-tester/pull/66) shrinks the image size from 1.6GB to 570GB, and reduces container initialization time by 80%. (from 45sec to 12sec.)

Because the slim container doesn't have all the batteries included, we need to add some more packages to facilitate a few modules: gnupg for Module::Signature libdb-dev for DB_File libexpat-dev for XML::parser zip for unzip nodejs for actions/cache

wolfsage commented 4 months ago

Use the slim-bookworm base image, it's 1/3 the size!

If this commit brings the time down to run the test suite significantly, I think that should be part of the commit.

"It's 1/3 the size" doesn't really tell us why the commit exists, and commit messages should explain their purpose I think