Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 8 support #136

Merged
merged 3 commits into from
Jul 15, 2024
Merged

.NET 8 support #136

merged 3 commits into from
Jul 15, 2024

Conversation

LouisMT
Copy link
Contributor

@LouisMT LouisMT commented Jul 13, 2024

While debugging the SampleLambda-dotnet8 project locally, I noticed some warnings/errors regarding fonts.

I then compared the contents of the public.ecr.aws/lambda/dotnet:8 Docker image to the public.ecr.aws/lambda/dotnet:6 image, and apparently the AL2 based image contains some fonts and also a lot of fontconfigs, while the AL2023 based image does not. When copying over the fonts from the AL2 based image to the AL2023 based image, the tests are passing (and the resulting PNG is also looking good imo).

Then I noticed the npm package also contains a fonts.tar.br file. By extracting it along with the other dependencies, copying over the fonts from the AL2 based image isn't needed anymore; the tests are still passing.

I haven't been able to test on an actual Lambda, but hopefully this will help.

@LouisMT LouisMT requested a review from a team as a code owner July 13, 2024 08:53
@brianfeucht
Copy link
Member

This is fantastic @LouisMT

Thank you for the work and the PR

@brianfeucht brianfeucht merged commit e5aa8d2 into litmus:main Jul 15, 2024
5 checks passed
@LouisMT LouisMT deleted the net-8 branch July 15, 2024 18:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants