mirror of
https://github.com/containers/bootc.git
synced 2026-02-05 15:45:53 +01:00
Merge pull request #548 from cgwalters/test-improvements
Move install tests shell script into Rust
This commit is contained in:
@@ -10,7 +10,7 @@ WORKDIR /build
|
||||
RUN mkdir -p /build/target/dev-rootfs # This can hold arbitrary extra content
|
||||
# See https://www.reddit.com/r/rust/comments/126xeyx/exploring_the_problem_of_faster_cargo_docker/
|
||||
# We aren't using the full recommendations there, just the simple bits.
|
||||
RUN --mount=type=cache,target=/build/target --mount=type=cache,target=/var/roothome make bin-archive && mkdir -p /out && cp target/bootc.tar.zst /out
|
||||
RUN --mount=type=cache,target=/build/target --mount=type=cache,target=/var/roothome make test-bin-archive && mkdir -p /out && cp target/bootc.tar.zst /out
|
||||
|
||||
FROM $base
|
||||
COPY --from=build /out/bootc.tar.zst /tmp
|
||||
|
||||
Reference in New Issue
Block a user