diff --git a/kernel-fc/Dockerfile b/kernel-fc/Dockerfile index bfeaa59..fd42bf5 100644 --- a/kernel-fc/Dockerfile +++ b/kernel-fc/Dockerfile @@ -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 diff --git a/kernel-k8s-fc/Dockerfile b/kernel-k8s-fc/Dockerfile index 5bf02a3..566f0f7 100644 --- a/kernel-k8s-fc/Dockerfile +++ b/kernel-k8s-fc/Dockerfile @@ -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 \ No newline at end of file +COPY --from=builder /boot / \ No newline at end of file