mirror of
https://github.com/edera-dev/krata.git
synced 2026-11-04 13:22:20 +00:00
fix(oci-distribution): use scratch images for OCI distributed-artefacts (#230)
Signed-off-by: Ariadne Conill <[email protected]>
This commit is contained in:
1 parent
deeaa20a4a
commit
98ca623828
3 files changed
+3
-3
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user