blob: 61fcf480fa119bf0ab48d37a25ac381edfce8662 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# SPDX-License-Identifier: GPL-2.0-or-later
#
# seitan - Syscall Expressive Interpreter, Transformer and Notifier
#
# containerfiles/tests/eater/Containerfile - Containerfile for eater tests
#
# Copyright (c) 2022-2023 Red Hat GmbH
# Author: Alice Frosi <afrosi@redhat.com>
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"]
|