From ddbb441ca1eb33baa6b47254ef0c009228e97ac8 Mon Sep 17 00:00:00 2001 From: Marco Varlese Date: Thu, 17 Feb 2022 16:05:17 +0100 Subject: [PATCH] Reverted to the use of scratch Signed-off-by: Marco Varlese --- Dockerfile.bci | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile.bci b/Dockerfile.bci index e5e3ccfb..201751ea 100644 --- a/Dockerfile.bci +++ b/Dockerfile.bci @@ -32,12 +32,12 @@ RUN --mount=type=bind,target=/src,rw \ --files="LICENSE" \ --files="README.md" -FROM registry.suse.com/bci/bci-micro AS artifact +FROM scratch AS artifact COPY --from=build /out/*.tar.gz / COPY --from=build /out/*.zip / COPY --from=build /out/*.sha256 / -FROM registry.suse.com/bci/bci-micro AS binary +FROM scratch AS binary COPY --from=build /usr/local/bin/registry* / FROM registry.suse.com/bci/bci-micro