Building and managing Bash function dependencies
Written by
Updated at November 18, 2024
For the function to work correctly in the Bash runtime environment, dependencies should be delivered manually. Upload all executable binary files
Example of the project structure:
├── handler.sh
├── ffmpeg
└── git
Where:
handler.sh
: Request handler script in the Bash language.ffmpeg
andgit
: Executable files of the required dependencies. In this example,ffmpeg
is a library for multimedia files andgit
is a library for the version control system.
Note
All executable files you upload must be statically linked
The dependency installation process has some technical restrictions. For more information, see Quotas and limits in Cloud Functions. You can view the dependency installation log using the link that appears in the list of operations.