Include custom fonts in AWS Lambda

后端 未结 5 1746
独厮守ぢ
独厮守ぢ 2021-01-25 17:16

Does Anyone know something like ebextensions[2] in EC2 for AWS Lambda?

The goal is to install custom fonts in the AWS Lambda execution environment.

5条回答
  •  醉梦人生
    2021-01-25 17:39

    I followed the instructions on this gist and it worked a charm (although for me in the "Configuring fontconfig" and "Installing and caching fonts" sections the /tmp/…/fontconfig seemed to really mean /var/task//headless-chrome/fontconfig)

提交回复
热议问题