crystal-lang / distribution-scripts

40 stars 24 forks source link

Add installer test for Amazon Linux 2023 #325

Closed straight-shoota closed 3 months ago

straight-shoota commented 3 months ago

Amazon Linux is a popular Linux distribution for which we don't provide explicit packages, but it can use the fallback packages for Fedora. Adding this test ensures we'll notice if anything breaks there.

straight-shoota commented 3 months ago

There's also a stripped down version public.ecr.aws/lambda/provided:al2023 which would be interesting to test because it only has microdnf (see https://github.com/crystal-lang/distribution-scripts/issues/322#issuecomment-2271673454). But trying to run this images causes an error entrypoint requires the handler name to be the first argument which I'm not quite sure what to do about. @gabriel-ss any idea?

gabriel-ss commented 3 months ago

Ah yes, the default entrypoint for those images is not bash, you have to override it with --entrypoint /bin/bash