aboutgitcodelistschat:MatrixIRC
path: root/containerfiles/tests/eater/Containerfile
blob: acbc61cb643c53393903db9569f9a888b357b3e9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM fedora:37

RUN mkdir -p /var/run/test-filters

COPY ./eater /usr/bin/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/eater"]