Skip to content

Commit

Permalink
refactor: k8s fx kernel modules
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Case <[email protected]>
  • Loading branch information
richardcase committed Dec 18, 2024
1 parent eb50f90 commit 663edeb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion kernel-k8s-fc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ COPY ${KERNEL_CONFIG} .config

RUN make LOCALVERSION= olddefconfig
RUN make LOCALVERSION= -j32
RUN make LOCALVERSION= modules_install

RUN cp vmlinux /boot/vmlinux && \
cp .config /boot/config-${KERNEL_VERSION}

FROM scratch
LABEL org.opencontainers.image.source=https://github.com/liquidmetal-dev/mikrolite-images
COPY --from=builder /boot /
COPY --from=builder /boot /boot
COPY --from=builder /lib/modules /lib/modules

0 comments on commit 663edeb

Please sign in to comment.