Building and managing Bash function dependencies
Written by
Updated at July 2, 2026
For the function to work correctly in the Bash runtime, you need to provide dependencies manually. Upload all executable binary files
Here is an example of a project structure:
├── handler.sh
├── ffmpeg
└── git
Where:
handler.sh: Request handler script in Bash.ffmpegandgit: Executables of the required dependencies. In this example,ffmpegis a library for multimedia files andgitis a library for the version control system.
Note
All executable files you upload must be statically linked
The dependency installation process has some technical limitations. For more information, see Quotas and limits in Cloud Functions. You can view the dependency installation log via the link displayed in the list of operations.