Skip to content

Commit

Permalink
Merge pull request #3998 from deitch/missing-builder-label-on-kernel
Browse files Browse the repository at this point in the history
in kernel build, have ARG in correct place to be usable
  • Loading branch information
deitch committed Mar 3, 2024
2 parents 10e6d57 + a40251b commit de69789
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -178,8 +178,8 @@ RUN DVER=$(basename $(find /tmp/kernel-modules/lib/modules/ -mindepth 1 -maxdept

RUN printf "${BUILD_IMAGE}" > /out/kernel-builder

ARG BUILD_IMAGE
FROM scratch
ARG BUILD_IMAGE
ENTRYPOINT []
CMD []
WORKDIR /
Expand Down
1 change: 1 addition & 0 deletions test/cases/020_kernel/tags.sh
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ fi

# Check that for each architecture we have the kernel for builder and the builder label points to the same thing
for ARCH in ${KERNEL_ARCHES}; do
[ "$ARCH" = "unknown" ] && continue
BUILDER_ARCH_DIGEST=$(echo ${BUILDER_MANIFEST} | jq -r --arg ARCH "$ARCH" '.[] | select (.platform.architecture == $ARCH) | .digest')
BUILDER_LABEL_ARCH_DIGEST=$(echo ${BUILDER_LABEL_MANIFEST} | jq -r --arg ARCH "$ARCH" '.[] | select (.platform.architecture == $ARCH) | .digest')

Expand Down

0 comments on commit de69789

Please sign in to comment.