fix(oci-distribution): use scratch images for OCI distributed-artefacts (#230)

Signed-off-by: Ariadne Conill <[email protected]>
This commit is contained in:
Ariadne Conill authored and GitHub committed 2024-07-05 16:02:26 +00:00
1 parent deeaa20a4a
commit 98ca623828
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -7,6 +7,6 @@ COPY . .
RUN ./hack/build/cargo.sh build --release --bin kratactl
RUN mv ./target/$(./hack/build/target.sh)/release/kratactl /usr/sbin
FROM cgr.dev/chainguard/static AS final
FROM scratch
ENTRYPOINT ["/usr/sbin/kratactl"]
COPY --from=build /usr/sbin/kratactl /usr/sbin/kratactl