-
I have read everything I can about this. I know that I could produce an AWS Linux 2 with fonts installed, but I would prefer to use the existing Lambda container. I tried copying the fonts from /var/task/fonts/ to /usr/share/fonts/ but that target directory says it is read-only. I could not use sudo with AWS Lambda. I have tried using font.conf in the /var/task/fonts/ directory, but I guess I need fontconfig installed. Has anyone managed to install a font in the DotNet Lambda environment? I could really use some help. The end aim is to use ClosedXML in DotNet Lambda to generate an Excel file for Windows but I cannot get a Windows font installed. Articles I have tried using: https://medium.com/creditorwatch/aws-lambda-fonts-libfontconfig-5e837281a4ce Approaches tried: Running several Linux commands via System.Diagnostics.Process. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I would strongly encourage you to try and deploy the function as a container image where you will have much more control of what is installed. The only writable area in the filesystem in a zip based Lambda function is the |
Beta Was this translation helpful? Give feedback.
-
Hello! Reopening this discussion to make it searchable. |
Beta Was this translation helpful? Give feedback.
I would strongly encourage you to try and deploy the function as a container image where you will have much more control of what is installed. The only writable area in the filesystem in a zip based Lambda function is the
/tmp
directory.