Skip to content

Commit

Permalink
Merge pull request #24 from liquidmetal-dev/kernel_to_root
Browse files Browse the repository at this point in the history
refactor: k8s fx kernel modules
  • Loading branch information
richardcase authored Dec 18, 2024
2 parents 0782529 + 663edeb commit bfd2ab6
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 bfd2ab6

Please sign in to comment.