mirror of
https://github.com/edera-dev/krata.git
synced 2025-08-03 13:11:31 +00:00
feature(krata): rename guest to zone (#266)
This commit is contained in:
10
images/Dockerfile.krata-zone
Normal file
10
images/Dockerfile.krata-zone
Normal 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
|
Reference in New Issue
Block a user