Skip to content

Commit

Permalink
ci/opt: update 1.7 kmod ci desc artifacts size
Browse files Browse the repository at this point in the history
  • Loading branch information
kulukami committed Mar 18, 2024
1 parent f5034c5 commit 2cc0b13
Show file tree
Hide file tree
Showing 34 changed files with 49 additions and 23 deletions.
1 change: 1 addition & 0 deletions driver/build_script/aarch64/batch_compile.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#!/bin/bash
mkdir -p /ko_output
rm -rf /ko_output || true
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
UBUNTU_OR_DEBIAN_FLAG=$(cat /etc/*release | grep -iE "ubuntu|debian")
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/aarch64/batch_compile_el7.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/aarch64/batch_compile_el8.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/aarch64/batch_compile_ol8_uek.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
6 changes: 3 additions & 3 deletions driver/build_script/gen_ci_from_dockerfiles.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,17 +182,17 @@ def gen_job(vminfo):

OrderedDict({
"name": "Prepare artifact 2-1 ko",
"run": "mv -f ~/all_elkeid_drivers/*/*.ko elkeid_driver/ko || true"
"run": "BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '\"' '{print $2}') mv -f ~/all_elkeid_drivers/*/*$BUILD_VERSION*.ko elkeid_driver/ko || true"
}),

OrderedDict({
"name": "Prepare artifact 2-2 sign",
"run": "mv -f ~/all_elkeid_drivers/*/*.sign elkeid_driver/ko || true"
"run": "BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '\"' '{print $2}') mv -f ~/all_elkeid_drivers/*/*$BUILD_VERSION*.sign elkeid_driver/ko || true"
}),

OrderedDict({
"name": "Prepare artifact 2-3 log",
"run": "mv -f ~/all_elkeid_drivers/*/*.log elkeid_driver/log || true"
"run": "BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '\"' '{print $2}') mv -f ~/all_elkeid_drivers/*/*$BUILD_VERSION*.log elkeid_driver/log || true"
}),

OrderedDict({
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_el7.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_el7_centosplus.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_el8_plus.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_elrepo6.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_elrepo7_lt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_elrepo7_ml.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_elrepo8_lt.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_elrepo8_ml.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_ol8_uek.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/build_script/x86_64/batch_compile_tencentos.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
rm -rf /ko_output || true
mkdir -p /ko_output
BUILD_VERSION=$(cat LKM/src/init.c | grep MODULE_VERSION | awk -F '"' '{print $2}')
KO_NAME=$(grep "MODULE_NAME" ./LKM/Makefile | grep -m 1 ":=" | awk '{print $3}')
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.aarch64/Dockerfile.aliyun_linux3
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CMD [ "sh", "-c", "echo start" ]
RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/AliYun.repo;
RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel;
RUN dnf groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers
RUN for each_tag in `dnf --showduplicates list kernel-devel | grep kernel-devel | awk -c '{print $2}'`; do dnf -y install --downloadonly --downloaddir=/root/headers kernel-devel-$each_tag.aarch64; done
RUN rpm --force -i /root/headers/*.rpm || true
Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.aarch64/Dockerfile.ol8_uek
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel gnutls-utils pc
RUN dnf install -y wget perl gcc make tree openssl-devel openssl gcc-toolset-11 gcc-toolset-11-binutils-devel binutils-devel gcc-toolset-11-elfutils-libelf-devel;

RUN dnf groupinstall -y "Development Tools";

RUN rm -rf /root/headers || true
RUN mkdir /root/headers

RUN dnf config-manager --set-enable ol8_UEKR7
Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.aarch64/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN yum install -y wget perl gcc make tree elfutils-libelf-devel yumdownloader g
RUN yum groupinstall -y "Development Tools";
RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-8

RUN rm -rf /root/headers || true
RUN mkdir /root/headers

ADD . /elkeid
Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.aarch64/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel yumdownloader g
RUN dnf groupinstall -y "Development Tools";
RUN dnf install -y centos-release-scl
RUN dnf install -y devtoolset-8

RUN rm -rf /root/headers || true
RUN mkdir /root/headers

ADD . /elkeid
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.aliyun_linux2
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CMD [ "sh", "-c", "echo start" ]
RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/AliYun.repo;
RUN yum install -y wget perl gcc make tree elfutils-libelf-devel yumdownloader;
RUN yum groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers
RUN for each_tag in `yum --showduplicates list kernel-devel | grep kernel-devel | awk -c '{print $2}'`; do yumdownloader --destdir /root/headers kernel-devel-$each_tag.x86_64; done
RUN rpm --force -i /root/headers/*.rpm || true
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.aliyun_linux3
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CMD [ "sh", "-c", "echo start" ]
RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/AliYun.repo;
RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel;
RUN dnf groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers
RUN for each_tag in `dnf --showduplicates list kernel-devel | grep kernel-devel | awk -c '{print $2}'`; do dnf -y install --downloadonly --downloaddir=/root/headers kernel-devel-$each_tag.x86_64; done
RUN rpm --force -i /root/headers/*.rpm || true
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.almalinux8
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ CMD [ "sh", "-c", "echo start" ]
RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/almalinux*.repo;
RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel;
RUN dnf groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

RUN cd /root/headers; \
Expand Down
21 changes: 11 additions & 10 deletions driver/dockerfiles.x86_64/Dockerfile.anolis8
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,20 @@ CMD [ "sh", "-c", "echo start" ]
RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/almalinux*.repo;
RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel;
RUN dnf groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

RUN cd /root/headers; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.2/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.2/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.4/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.4/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.5/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.5/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.6/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.6/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.8/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.8/Plus/x86_64/os/Packages/';
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.2/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.2/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.4/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.4/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.5/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.5/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.6/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.6/Plus/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.8/BaseOS/x86_64/os/Packages/'; \
wget -q -k -e robots=off -c -r -np -nd -nH -A 'kernel-devel*x86_64.rpm' 'https://mirrors.openanolis.cn/anolis/8.8/Plus/x86_64/os/Packages/';

RUN rpm --force -i /root/headers/*.rpm || true

Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.x86_64/Dockerfile.ol8_uek
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM oraclelinux:8 AS rhel8

RUN dnf install -y wget perl gcc make tree openssl-devel openssl gcc-toolset-11 gcc-toolset-11-binutils-devel binutils-devel gcc-toolset-11-elfutils-libelf-devel;
RUN dnf groupinstall -y "Development Tools";

RUN rm -rf /root/headers || true
RUN mkdir /root/headers
RUN dnf config-manager --set-enable ol8_UEKR7
RUN dnf config-manager --set-enable ol8_UEKR6
Expand Down
8 changes: 4 additions & 4 deletions driver/dockerfiles.x86_64/Dockerfile.rhel6
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ FROM centos:centos6 AS rhel6

RUN rm -f /etc/yum.repos.d/CentOS-Media.repo
RUN sed -e "s|^mirrorlist=|#mirrorlist=|g" \
-e "s|^#baseurl=http://mirror.centos.org/centos/\$releasever|baseurl=https://mirrors.aliyun.com/centos-vault/6.10|g" \
-i.bak \
/etc/yum.repos.d/CentOS-*.repo
-e "s|^#baseurl=http://mirror.centos.org/centos/\$releasever|baseurl=https://mirrors.aliyun.com/centos-vault/6.10|g" \
-i.bak \
/etc/yum.repos.d/CentOS-*.repo

RUN yum install -y wget perl gcc make tree elfutils-libelf-devel unzip yum-utils;
RUN yum groupinstall -y "Development Tools";

RUN sed -i "s/enabled=0/enabled=1/g" /etc/yum.repos.d/*.repo

RUN rm -rf /root/headers || true
RUN mkdir /root/headers
RUN for each_tag in `yum --showduplicates list kernel-devel | grep kernel-devel | awk '{print $2}'`; do yumdownloader --destdir /root/headers kernel-devel-$each_tag.x86_64; done

Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.x86_64/Dockerfile.rhel7
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-8
RUN yum install -y devtoolset-9
RUN yum install -y devtoolset-10

RUN rm -rf /root/headers || true
RUN mkdir /root/headers

ADD . /elkeid
Expand Down
2 changes: 1 addition & 1 deletion driver/dockerfiles.x86_64/Dockerfile.rhel7_centosplus
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ RUN yum install -y centos-release-scl
RUN yum install -y devtoolset-8
RUN yum install -y devtoolset-9
RUN yum install -y devtoolset-10

RUN rm -rf /root/headers || true
RUN mkdir /root/headers

ADD . /elkeid
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.rhel8
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM oraclelinux:8 AS rhel8

RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel openssl-devel openssl;
RUN dnf groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

RUN for eachversion in `dnf --showduplicates list kernel-devel | grep kernel-devel.x86_64 | awk '{print $2}'` ; do dnf download --downloaddir=/root/headers kernel-devel-$eachversion.x86_64 || true ; done;
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.rhel8_plus
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM cern/c8-base:latest AS rhel8

RUN yum install -y wget perl gcc make tree elfutils-libelf-devel pciutils-libs;
RUN yum groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

RUN cd /root/headers; \
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.rocky8
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ FROM rockylinux:8 AS rockylinux8

RUN yum install -y wget perl gcc make tree elfutils-libelf-devel;
RUN yum groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

WORKDIR /root/headers
Expand Down
1 change: 1 addition & 0 deletions driver/dockerfiles.x86_64/Dockerfile.rocky9
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ FROM rockylinux:9 AS rockylinux9
RUN dnf install -y wget perl gcc make tree elfutils-libelf-devel openssl-devel;

RUN yum groupinstall -y "Development Tools";
RUN rm -rf /root/headers || true
RUN mkdir /root/headers

WORKDIR /root/headers
Expand Down

0 comments on commit 2cc0b13

Please sign in to comment.