new(docker): allow passing options to falco-driver-loader from the container image

Signed-off-by: Luca Guerra <luca@guerra.sh>
This commit is contained in:
Luca Guerra 2023-09-06 10:22:17 +00:00 committed by poiana
parent 30aa28f2a6
commit dae36c798a

View File

@ -27,7 +27,8 @@ if [[ -z "${SKIP_DRIVER_LOADER}" ]]; then
ln -s "$i" "/usr/src/$base"
done
/usr/bin/falco-driver-loader
falco_driver_loader_option_arr=($FALCO_DRIVER_LOADER_OPTIONS)
/usr/bin/falco-driver-loader "${falco_driver_loader_option_arr[@]}"
fi
exec "$@"