-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
rcohencyberarmor
committed
Dec 25, 2022
1 parent
5551527
commit 39cd436
Showing
3 changed files
with
32 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
FROM ubuntu:latest as builder | ||
|
||
RUN apt update && apt install git curl llvm clang cmake make libelf-dev golang-go -y | ||
|
||
RUN git clone https://github.com/falcosecurity/libs.git /etc/falco-libs | ||
WORKDIR /etc/falco-libs | ||
RUN git checkout 5a02ca746cda9866d574061fc61c146dae906526 | ||
COPY ./kernel/entrypoint.sh /etc/entrypoint.sh | ||
|
||
ENTRYPOINT ["/etc/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/bash | ||
set -x | ||
|
||
apt install linux-headers-$(uname -r) -y | ||
mkdir /etc/falco-libs/build && cd /etc/falco-libs/build | ||
cmake -DBUILD_BPF=true -DINSTALL_GTEST=OFF ../ | ||
make bpf | ||
cp /etc/falco-libs/build/driver/bpf/probe.o /root/.falco/falco-bpf.o |