aboutgitcodelistschat:MatrixIRC
path: root/containerfiles/tests/eater
diff options
context:
space:
mode:
Diffstat (limited to 'containerfiles/tests/eater')
-rw-r--r--containerfiles/tests/eater/Containerfile14
1 files changed, 14 insertions, 0 deletions
diff --git a/containerfiles/tests/eater/Containerfile b/containerfiles/tests/eater/Containerfile
new file mode 100644
index 0000000..53e5b1c
--- /dev/null
+++ b/containerfiles/tests/eater/Containerfile
@@ -0,0 +1,14 @@
+FROM fedora:37
+
+RUN mkdir -p /var/run/test-filters
+
+COPY ./seitan-eater /usr/bin/seitan-eater
+COPY ./tests-utils/test-syscalls /usr/local/bin/test-syscalls
+# Filter without syscalls
+COPY ./test.bpf /var/run/test-filters/test.bpf
+
+# Make all test filter files reable by all users
+RUN chmod -R 0777 /var/run/test-filters && \
+ chmod 0777 /var/run/test-filters/*
+
+ENTRYPOINT ["/usr/bin/seitan-eater"]