mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-22 18:41:37 +00:00
test: Remove kernel-compile from kmod test
linuxkit/kernel-compile is no longer maintained. Use the alpine base image instead. Signed-off-by: Rolf Neugebauer <rolf.neugebauer@docker.com>
This commit is contained in:
parent
fe1aa4659c
commit
f67cb4719a
@ -6,7 +6,9 @@
|
|||||||
FROM linuxkit/kernel:4.9.46 AS ksrc
|
FROM linuxkit/kernel:4.9.46 AS ksrc
|
||||||
|
|
||||||
# Extract headers and compile module
|
# Extract headers and compile module
|
||||||
FROM linuxkit/kernel-compile:1b396c221af673757703258159ddc8539843b02b@sha256:6b32d205bfc6407568324337b707d195d027328dbfec554428ea93e7b0a8299b AS build
|
FROM linuxkit/alpine:f4f5b333fa1a8433334fcae996d1637173144a72 AS build
|
||||||
|
RUN apk add build-base
|
||||||
|
|
||||||
COPY --from=ksrc /kernel-dev.tar /
|
COPY --from=ksrc /kernel-dev.tar /
|
||||||
RUN tar xf kernel-dev.tar
|
RUN tar xf kernel-dev.tar
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user