From dae36c798a38aba06f14b8d1784fa3bef8bcdff1 Mon Sep 17 00:00:00 2001 From: Luca Guerra Date: Wed, 6 Sep 2023 10:22:17 +0000 Subject: [PATCH] new(docker): allow passing options to falco-driver-loader from the container image Signed-off-by: Luca Guerra --- docker/falco/docker-entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docker/falco/docker-entrypoint.sh b/docker/falco/docker-entrypoint.sh index 9147fe10feb..4eaae1e7391 100755 --- a/docker/falco/docker-entrypoint.sh +++ b/docker/falco/docker-entrypoint.sh @@ -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 "$@" \ No newline at end of file