You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ git diff
diff --git a/KubeArmor/Makefile b/KubeArmor/Makefile
index d550ec8c..39f34657 100644
--- a/KubeArmor/Makefile+++ b/KubeArmor/Makefile@@ -189,3 +189,8 @@ ifeq ($(KUBEARMOR_PID), )
endif
sudo $(DLV_EXEC) attach $(KUBEARMOR_PID) --headless -l=:$(DLV_LPORT) --log --api-version 2 $(CURDIR)
+.PHONY: object-files+object-files:+ cd enforcer/bpflsm; go generate+ cd utils/bpflsmprobe; go generate+ cd BPF; make
I think if we proceed with diff above and keep everything as it is then we will be able to remove the object files from the repository. We will ensure that we run the make object-files target in CI before we execute the docker build
The text was updated successfully, but these errors were encountered:
The main focus of this proposal is that we stop storing object files in our repository anymore. This is insecure and we want to avoid it.
Upon looking a bit into building the object files on an ubuntu 22.04 machine, I found out that we depend on these system dependencies.
sudo apt install gcc libelf-dev clang llvm libbpf-dev linux-tools-common linux-tools-$(uname -r) linux-headers-$(uname -r) -y
I think if we proceed with diff above and keep everything as it is then we will be able to remove the object files from the repository. We will ensure that we run the
make object-files
target in CI before we execute thedocker build
The text was updated successfully, but these errors were encountered: