introduce image data copy polyfill to allow builds on systems without image mounts

This commit is contained in:
2025-10-01 21:51:58 -07:00
parent 4119c3a3b5
commit b8e1d11bed
5 changed files with 48 additions and 16 deletions

View File

@@ -0,0 +1,4 @@
ARG TARGET_IMAGE=scratch
FROM ${TARGET_IMAGE} AS image
FROM --platform=$BUILDPLATFORM debian:trixie@sha256:b7e663fabda920f28abf26e7fbfe0867145645fdf3e47a42323147242151e066 AS final
COPY --from=image / /image