mirror of
https://github.com/falcosecurity/falco.git
synced 2025-09-19 17:14:26 +00:00
update(docker): introduce SKIP_MODULE_LOAD env variable
Co-authored-by: Lorenzo Fontana <lo@linux.com> Signed-off-by: Leonardo Di Donato <leodidonato@gmail.com>
This commit is contained in:
committed by
Lorenzo Fontana
parent
3e9ebfb354
commit
514d8bacc3
@@ -18,16 +18,14 @@
|
|||||||
|
|
||||||
# set -e
|
# set -e
|
||||||
|
|
||||||
# Set the SYSDIG_SKIP_LOAD variable to skip loading the sysdig kernel module
|
# Set the SKIP_MODULE_LOAD variable to skip loading the kernel module
|
||||||
|
|
||||||
if [[ -z "${SYSDIG_SKIP_LOAD}" ]]; then
|
if [[ -z "${SKIP_MODULE_LOAD}" ]]; then
|
||||||
echo "* Setting up /usr/src links from host"
|
echo "* Setting up /usr/src links from host"
|
||||||
|
|
||||||
for i in "$HOST_ROOT/usr/src"/*
|
for i in "$HOST_ROOT/usr/src"/*
|
||||||
do
|
do
|
||||||
if [ -f "$i" ]; then
|
ln -s "$i" "/usr/src/$i"
|
||||||
ln -s "$i" "/usr/src/$i"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
/usr/bin/falco-probe-loader
|
/usr/bin/falco-probe-loader
|
||||||
|
@@ -18,16 +18,14 @@
|
|||||||
|
|
||||||
# set -e
|
# set -e
|
||||||
|
|
||||||
# Set the SYSDIG_SKIP_LOAD variable to skip loading the sysdig kernel module
|
# Set the SKIP_MODULE_LOAD variable to skip loading the kernel module
|
||||||
|
|
||||||
if [[ -z "${SYSDIG_SKIP_LOAD}" ]]; then
|
if [[ -z "${SKIP_MODULE_LOAD}" ]]; then
|
||||||
echo "* Setting up /usr/src links from host"
|
echo "* Setting up /usr/src links from host"
|
||||||
|
|
||||||
for i in "$HOST_ROOT/usr/src"/*
|
for i in "$HOST_ROOT/usr/src"/*
|
||||||
do
|
do
|
||||||
if [ -f "$i" ]; then
|
ln -s "$i" "/usr/src/$i"
|
||||||
ln -s "$i" "/usr/src/$i"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
/usr/bin/falco-probe-loader
|
/usr/bin/falco-probe-loader
|
||||||
|
@@ -18,16 +18,14 @@
|
|||||||
|
|
||||||
# set -e
|
# set -e
|
||||||
|
|
||||||
# Set the SYSDIG_SKIP_LOAD variable to skip loading the sysdig kernel module
|
# Set the SKIP_MODULE_LOAD variable to skip loading the sysdig kernel module
|
||||||
|
|
||||||
if [[ -z "${SYSDIG_SKIP_LOAD}" ]]; then
|
if [[ -z "${SKIP_MODULE_LOAD}" ]]; then
|
||||||
echo "* Setting up /usr/src links from host"
|
echo "* Setting up /usr/src links from host"
|
||||||
|
|
||||||
for i in "$HOST_ROOT/usr/src"/*
|
for i in "$HOST_ROOT/usr/src"/*
|
||||||
do
|
do
|
||||||
if [ -f "$i" ]; then
|
ln -s "$i" "/usr/src/$i"
|
||||||
ln -s "$i" "/usr/src/$i"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
/usr/bin/falco-probe-loader
|
/usr/bin/falco-probe-loader
|
||||||
|
@@ -18,16 +18,14 @@
|
|||||||
|
|
||||||
# set -e
|
# set -e
|
||||||
|
|
||||||
# Set the SYSDIG_SKIP_LOAD variable to skip loading the sysdig kernel module
|
# Set the SKIP_MODULE_LOAD variable to skip loading the kernel module
|
||||||
|
|
||||||
if [[ -z "${SYSDIG_SKIP_LOAD}" ]]; then
|
if [[ -z "${SKIP_MODULE_LOAD}" ]]; then
|
||||||
echo "* Setting up /usr/src links from host"
|
echo "* Setting up /usr/src links from host"
|
||||||
|
|
||||||
for i in "$HOST_ROOT/usr/src"/*
|
for i in "$HOST_ROOT/usr/src"/*
|
||||||
do
|
do
|
||||||
if [ -f "$i" ]; then
|
ln -s "$i" "/usr/src/$i"
|
||||||
ln -s "$i" "/usr/src/$i"
|
|
||||||
fi
|
|
||||||
done
|
done
|
||||||
|
|
||||||
/usr/bin/falco-probe-loader
|
/usr/bin/falco-probe-loader
|
||||||
|
@@ -1,3 +1,4 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
#
|
#
|
||||||
# Copyright (C) 2019 The Falco Authors.
|
# Copyright (C) 2019 The Falco Authors.
|
||||||
#
|
#
|
||||||
|
Reference in New Issue
Block a user