Skip to content

Commit

Permalink
Merge pull request #25 from liquidmetal-dev/kernel_config_location
Browse files Browse the repository at this point in the history
fix: add 0 suffix to config file
  • Loading branch information
richardcase authored Dec 18, 2024
2 parents bfd2ab6 + d9f2f7e commit 9d8495b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion kernel-fc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ RUN make LOCALVERSION= olddefconfig
RUN make LOCALVERSION= -j32

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

FROM scratch
LABEL org.opencontainers.image.source=https://github.com/liquidmetal-dev/mikrolite-images
Expand Down
7 changes: 3 additions & 4 deletions kernel-k8s-fc/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,11 @@ 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}
cp .config /boot/config-${KERNEL_VERSION}.0

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

0 comments on commit 9d8495b

Please sign in to comment.