-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Itxaka <[email protected]>
- Loading branch information
Showing
2 changed files
with
45 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
FROM quay.io/luet/base:0.35.0 as luet | ||
|
||
FROM alpine as framework_base | ||
ENV LUET_NOLOCK=true | ||
COPY --from=luet /usr/bin/luet /usr/bin/luet | ||
COPY repositories.yaml /repositories.yaml | ||
RUN luet install -y --config repositories.yaml --system-target /framework \ | ||
static/grub-config \ | ||
dracut/immucore \ | ||
system/suc-upgrade \ | ||
system/grub2-efi \ | ||
static/kairos-overlay-files \ | ||
system/kcrypt \ | ||
system/kcrypt-challenger \ | ||
system/immucore \ | ||
system/kairos-agent \ | ||
init-svc/openrc \ | ||
initrd/alpine \ | ||
init-svc/systemd \ | ||
dracut/kairos-network \ | ||
dracut/kairos-sysext | ||
RUN mkdir -p /framework/etc/kairos/ | ||
RUN luet database --system-target /framework get-all-installed --output /framework/etc/kairos/versions.yaml | ||
|
||
# luet cleanup | ||
RUN luet cleanup --system-target /framework | ||
RUN rm -rf /framework/var/luet | ||
RUN rm -rf /framework/var/cache | ||
|
||
|
||
|
||
|
||
FROM scratch as framework | ||
COPY --from=framework_base /framework /framework | ||
|
||
|
||
FROM framework_base as framework_base_fips | ||
RUN luet install -y --config repositories.yaml --system-target /framework \ | ||
fips/kcrypt \ | ||
fips/kcrypt-challenger \ | ||
fips/immucore \ | ||
fips/kairos-agent | ||
|
||
FROM scratch as framework_fips | ||
COPY --from=framework_base_fips /framework /framework |
This file was deleted.
Oops, something went wrong.