File: Dockerfile

package info (click to toggle)
rt-tests 2.9-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: ansic: 13,273; python: 495; makefile: 237; sh: 158
file content (26 lines) | stat: -rw-r--r-- 593 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Use CentOS Stream 9 as base image
FROM centos:stream9

# Install required packages for RT-Tests
RUN dnf -y update && \
    dnf install -y \
        gcc \
        make \
        numactl-devel \
        util-linux \
        git && \
    git clone https://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git /opt/rt-tests && \
    cd /opt/rt-tests && \
    make && \
    make install && \
    dnf remove -y \
        git \
        make && \
    dnf clean all


# Set the working directory to the RT-Tests directory
WORKDIR /opt/rt-tests

# Set the entrypoint to a shell
ENTRYPOINT ["/bin/bash"]