@@ -41,6 +41,15 @@ RUN cd /tmp/ && \
41
41
echo "fbadb376afa7c883f87f70795700a8a200f7fd45412532cc1938a24d41078011 node_exporter-1.8.1.linux-amd64.tar.gz" > node_exporter.sha256 && \
42
42
shasum -c node_exporter.sha256
43
43
44
+ # Download 6.11 kernel and modules
45
+ RUN cd /tmp/ && \
46
+ curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/l/linux/linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
47
+ curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/l/linux-signed/linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
48
+ curl -L -O http://mirrors.kernel.org/ubuntu/pool/main/l/linux-meta/linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb && \
49
+ echo "d4cd2d97fcca81b57bec947b0e8ca004d556afce1d13f5cebe5d677c0445c6a2 linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb" >> kernel.sha256 && \
50
+ echo "241811191691c68e0874519ee71bda9de39e23510dee5e5512150db874f5b285 linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb" >> kernel.sha256 && \
51
+ echo "5c31c7e0d996ebc0928c5e1ad3b80fea047b56dfbbdaa759f7e7a70b1c42f10e linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb" >> kernel.sha256 && \
52
+ shasum -c kernel.sha256
44
53
45
54
#
46
55
# Second build stage:
@@ -81,3 +90,16 @@ RUN cd /tmp/ && \
81
90
mkdir -p /etc/node_exporter && \
82
91
tar --strip-components=1 -C /usr/local/bin/ -zvxf node_exporter-1.8.1.linux-amd64.tar.gz node_exporter-1.8.1.linux-amd64/node_exporter && \
83
92
rm /tmp/node_exporter-1.8.1.linux-amd64.tar.gz
93
+
94
+ # Install 6.11 kernel
95
+ COPY --from=download /tmp/linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb /tmp/linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb
96
+ COPY --from=download /tmp/linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb /tmp/linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb
97
+ COPY --from=download /tmp/linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb /tmp/linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb
98
+
99
+ RUN cd /tmp/ && \
100
+ dpkg -i /tmp/linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
101
+ dpkg -i /tmp/linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
102
+ dpkg -i /tmp/linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb && \
103
+ rm /tmp/linux-modules-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
104
+ rm /tmp/linux-image-6.11.0-8-generic_6.11.0-8.8_amd64.deb && \
105
+ rm /tmp/linux-image-virtual-hwe-24.04_6.11.0-8.8_amd64.deb
0 commit comments