Installing Debian packages
If your project depends on some specific library or package, you can install it in the Virtual Machine before performing an analysis. To do so, edit your project configuration and install the package using the pre_composer_script option.
The following example shows the configuration needed to install the libssh2
library required by the ext-ssh2
PHP extension:
1 2 3 4
pre_composer_script: |
#!/bin/bash
sudo apt-get update
sudo apt-get -y -q --force-yes install libssh2-1