fix: entrypoint now uses base path

Signed-off-by: Adrián Arroyo Calle <adrian.arroyocalle@gmail.com>
This commit is contained in:
Adrián Arroyo Calle 2019-12-18 09:50:33 +00:00 committed by poiana
parent 9eeed5912b
commit 3eb634d49f

View File

@ -25,7 +25,8 @@ if [[ -z "${SKIP_MODULE_LOAD}" ]]; then
for i in "$HOST_ROOT/usr/src"/*
do
ln -s "$i" "/usr/src/$i"
base=$(basename $i)
ln -s "$i" "/usr/src/$base"
done
/usr/bin/falco-probe-loader