Merge pull request #4024 from deitch/fix-kernel-tools-build

fix kernel tools build.yml files to reflect correct dockerfiles
This commit is contained in:
Avi Deitcher 2024-04-17 11:41:18 +03:00 committed by GitHub
commit 47d02ecd61
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
7 changed files with 11 additions and 5 deletions

View File

@ -1,6 +1,8 @@
ARG BUILD_IMAGE
ARG KERNEL_VERSION
ARG PKG_HASH
FROM ${KERNEL_VERSION}-${HASH} as ksrc
FROM linuxkit/kernel:${KERNEL_VERSION}-${PKG_HASH} as ksrc
FROM ${BUILD_IMAGE} AS build
RUN apk update && apk upgrade -a && \

View File

@ -1,8 +1,10 @@
# This Dockerfile extracts the source code and headers from a kernel package,
# builds the perf utility, and places it into a scratch image
ARG BUILD_IMAGE
ARG KERNEL_VERSION
ARG PKG_HASH
FROM ${KERNEL_VERSION}-${HASH} AS ksrc
FROM linuxkit/kernel:${KERNEL_VERSION}-${PKG_HASH} as ksrc
FROM ${BUILD_IMAGE} AS build
RUN apk add \

View File

@ -1,2 +1,3 @@
image: kernel-bcc
network: true
dockerfile: Dockerfile.bcc

View File

@ -1,2 +1,3 @@
image: kernel-perf
network: true
dockerfile: Dockerfile.perf

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:6.6.13-e274bc71d6552570c922d2fca6c6481d1f9f045a
image: linuxkit/kernel:6.6.13-44a5293614ca7c7674013e928cb11dcdbba73ba8
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:07d37c3ae7fad5ddcb54c8dc65774ae050851f04

View File

@ -3,7 +3,7 @@
# In the last stage, it creates a package, which can be used for
# testing.
FROM linuxkit/kernel:6.6.13-e274bc71d6552570c922d2fca6c6481d1f9f045a AS ksrc
FROM linuxkit/kernel:6.6.13-44a5293614ca7c7674013e928cb11dcdbba73ba8 AS ksrc
# Extract headers and compile module
FROM linuxkit/kernel:6.6.13-builder AS build

View File

@ -1,5 +1,5 @@
kernel:
image: linuxkit/kernel:6.6.13-e274bc71d6552570c922d2fca6c6481d1f9f045a
image: linuxkit/kernel:6.6.13-44a5293614ca7c7674013e928cb11dcdbba73ba8
cmdline: "console=ttyS0 console=ttyAMA0"
init:
- linuxkit/init:07d37c3ae7fad5ddcb54c8dc65774ae050851f04