File tree 1 file changed +5
-13
lines changed
1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,6 @@ ARG DEBIAN_FRONTEND=noninteractive
10
10
# Dependencies for latency plot
11
11
RUN apt-get update && apt-get install -y \
12
12
curl \
13
- grep \
14
13
build-essential \
15
14
make \
16
15
libnuma-dev \
@@ -23,19 +22,12 @@ RUN apt-get update && apt-get install -y \
23
22
dialog \
24
23
tmux
25
24
26
- # Fetch most recent version of rt-tests and mklatencyplot
27
- RUN cd ${WS_DIR} \
28
- && RT_TESTS=$(echo $(curl -Ls https://mirrors.edge.kernel.org/pub/linux/utils/rt-tests | grep -o -P '(?<=href\=\" )(rt-tests-2.*)(?=.tar.xz\" >)' )) \
29
- && curl -SLO --fail https://mirrors.edge.kernel.org/pub/linux/utils/rt-tests/${RT_TESTS}.tar.xz \
30
- && tar -xf ${RT_TESTS}.tar.xz \
31
- && cd ${RT_TESTS} \
32
- && make \
33
- && make install \
34
- && cd .. \
35
- && rm -r ${RT_TESTS} \
36
- && rm ${RT_TESTS}.tar.xz \
25
+ # Cyclictest and mklatencyplot
26
+ RUN apt-get update && apt-get install -y \
27
+ rt-tests \
28
+ && cd ${WS_DIR} \
37
29
&& curl -SLO --fail https://www.osadl.org/uploads/media/mklatencyplot.bash \
38
- # && sed -i -E "s/(cores=).*/\1\$(nproc)/" ${WS_DIR}/ mklatencyplot.bash \
30
+ && sed -i -E "s/(cores=).*/\1\$ (nproc)/" mklatencyplot.bash \
39
31
&& chmod +x mklatencyplot.bash
40
32
41
33
ARG DEBIAN_FRONTEND=dialog
You can’t perform that action at this time.
0 commit comments