Back

How to install and use system level dependencies in functions environment ?

  • 0
  • Self Hosted
  • Functions
  • Storage
Vineet
7 Feb, 2025, 11:17

I am trying to write a video transcoding pipeline using appwrite functions. The issue i am encountering is that the functions are being executed in an isolated environment despite using build commands for installing few command line utilities.

These utilities are not retained in the env and need to be installed again during execution

How can i use a custom docker file for function execution environment or any other workaround to use them without having to install them at runtime ?

TL;DR
Developers want to install system level dependencies in functions environment for a video transcoding pipeline. Dependencies are not retained and need to be re-install at runtime. To use custom docker file for function execution environment, try specifying the required dependencies in the docker file, so they are available when the function runs.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more