feature(krata): rename guest to zone (#266)

This commit is contained in:
alex authored and GitHub committed 2024-07-19 03:47:18 +00:00
1 parent 9bd8d1bb1d
commit 5ee1035896
58 files changed
+854 -879

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
FROM rust:1.79-alpine@sha256:a454f49f2e15e233f829a0fd9a7cbdac64b6f38ec08aeac227595d4fc6eb6d4d AS build
RUN apk update && apk add protoc protobuf-dev build-base && rm -rf /var/cache/apk/*
ENV TARGET_LIBC=musl TARGET_VENDOR=unknown
WORKDIR /usr/src/app
COPY . .
RUN ./hack/initrd/build.sh && cp target/initrd/initrd-* target/initrd/initrd
FROM scratch AS final
COPY --from=build /usr/src/app/target/initrd/initrd /krata/initrd