simple names in bootstrap to rely on build-context

This commit is contained in:
Lance Vick 2024-02-08 09:15:10 -08:00
parent fc2f84c1eb
commit 8346d12f62
Signed by: lrvick
GPG Key ID: 8E47A1EC35A1551D
3 changed files with 5 additions and 5 deletions

View File

@ -258,7 +258,7 @@ ADD --checksum=sha256:b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f8
# HACK: stage0 tar is currently incompatible with symlinks and github tgz files
#FROM base as extract
#COPY --from=stagex/stage0 . /
#COPY --from=stage0 . /
#COPY --from=fetch distfiles/live-bootstrap.tgz .
#SHELL ["/x86/bin/kaem","--verbose","--strict","--file"]
#COPY <<-EOF extract.kaem
@ -277,7 +277,7 @@ RUN echo "" > lrvick-live-bootstrap-fc6eeb6/steps/lwext4-1.0.0-lb1/files/fiwix-f
FROM base as build
USER 0:0
COPY --from=stagex/stage0 . /
COPY --from=stage0 . /
COPY --from=fetch distfiles external/distfiles
COPY --from=extract /lrvick-live-bootstrap-fc6eeb6/seed/* .
COPY --from=extract /lrvick-live-bootstrap-fc6eeb6/steps steps

View File

@ -61,7 +61,7 @@ ADD --checksum=sha256:${MPC_HASH} ${MPC_SITE} .
ADD --checksum=sha256:${ISL_HASH} ${ISL_SITE} .
FROM fetch as build
COPY --from=stagex/stage2 . /
COPY --from=stage2 . /
RUN set -eux; \
tar -xf ${LINUX_FILE}; \
tar -xzf ${MUSL_FILE}; \
@ -172,7 +172,7 @@ RUN set -eux; \
FROM build as install
WORKDIR ${HOME}
USER 0:0
COPY --from=stagex/stage1 . /rootfs/
COPY --from=stage1 . /rootfs/
RUN set -eux; \
rm /rootfs/lib; \
env -C build-musl make DESTDIR=/rootfs/${TARGET} install; \

View File

@ -71,7 +71,7 @@ ADD --checksum=sha256:${MPC_HASH} ${MPC_SITE} .
ADD --checksum=sha256:${ISL_HASH} ${ISL_SITE} .
FROM fetch as build
COPY --from=stagex/stage2 . /
COPY --from=stage2 . /
RUN --network=none <<-EOF
set -eux
tar -xf ${LINUX_FILE}