Debian Codegraph @

Dockerfile

raw
1 # Use CentOS Stream 9 as base image
2 FROM centos:stream9
3
4 # Install required packages for RT-Tests
5 RUN dnf -y update && \
6 dnf install -y \
7 gcc \
8 make \
9 numactl-devel \
10 util-linux \
11 git && \
12 git clone https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git /opt/rt-tests && \
13 cd /opt/rt-tests && \
14 make && \
15 make install && \
16 dnf remove -y \
17 git \
18 make && \
19 dnf clean all
20
21
22 # Set the working directory to the RT-Tests directory
23 WORKDIR /opt/rt-tests
24
25 # Set the entrypoint to a shell
26 ENTRYPOINT ["/bin/bash"]