mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-08-13 13:36:03 +00:00
Bump to use latest enki with ukifier
Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
18122a9656
commit
bf4cb26932
@ -1,18 +1,16 @@
|
|||||||
# https://quay.io/repository/kairos/packages?tab=tags&tag=latest
|
# https://quay.io/repository/kairos/packages?tab=tags&tag=latest
|
||||||
ARG LEAP_VERSION=15.5
|
ARG LEAP_VERSION=15.5
|
||||||
ARG LUET_VERSION=0.35.2
|
ARG LUET_VERSION=0.35.2
|
||||||
ARG ENKI_VERSION=v0.0.32
|
ARG ENKI_VERSION=0.1.0
|
||||||
|
|
||||||
FROM quay.io/luet/base:$LUET_VERSION AS luet
|
FROM quay.io/luet/base:$LUET_VERSION AS luet
|
||||||
FROM quay.io/kairos/enki:${ENKI_VERSION} as enki
|
FROM quay.io/kairos/enki:v${ENKI_VERSION} as enki
|
||||||
|
|
||||||
FROM opensuse/leap:$LEAP_VERSION as default
|
FROM opensuse/leap:$LEAP_VERSION as default
|
||||||
RUN zypper ref && zypper dup -y
|
RUN zypper ref && zypper dup -y
|
||||||
## ISO+ Arm image + Netboot + cloud images Build depedencies
|
## ISO+ Arm image + Netboot + cloud images Build depedencies
|
||||||
RUN zypper ref && zypper in -y bc qemu-tools jq cdrtools docker git curl gptfdisk kpartx sudo xfsprogs parted \
|
RUN zypper ref && zypper in -y bc qemu-tools jq cdrtools docker git curl gptfdisk kpartx sudo xfsprogs parted \
|
||||||
util-linux-systemd e2fsprogs curl util-linux udev rsync grub2 dosfstools grub2-x86_64-efi squashfs mtools xorriso lvm2 zstd
|
util-linux-systemd e2fsprogs curl util-linux udev rsync grub2 dosfstools grub2-x86_64-efi squashfs mtools xorriso lvm2 zstd
|
||||||
RUN zypper in -y python311-pip python311-cryptography sbsigntools tpm2-* # ukify deps
|
|
||||||
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1 # make python3.11 the default python3 for ukify
|
|
||||||
COPY --from=luet /usr/bin/luet /usr/bin/luet
|
COPY --from=luet /usr/bin/luet /usr/bin/luet
|
||||||
ENV LUET_NOLOCK=true
|
ENV LUET_NOLOCK=true
|
||||||
ENV TMPDIR=/tmp
|
ENV TMPDIR=/tmp
|
||||||
@ -27,11 +25,6 @@ RUN cp /tmp/luet-${TARGETARCH}.yaml /etc/luet/luet.yaml
|
|||||||
## Uki artifacts, will be set under the /usr/kairos directory
|
## Uki artifacts, will be set under the /usr/kairos directory
|
||||||
RUN luet install -y system/systemd-boot
|
RUN luet install -y system/systemd-boot
|
||||||
|
|
||||||
# ukify + measure
|
|
||||||
RUN luet install -y system/systemd-ukify
|
|
||||||
# ukify deps that are not in the suse repos as packages. ukify package provides this so we have the exact versions needed
|
|
||||||
RUN pip3 install -r /usr/kairos/ukify-requirements.txt
|
|
||||||
|
|
||||||
## Live CD artifacts
|
## Live CD artifacts
|
||||||
RUN luet install -y livecd/grub2 --system-target /grub2
|
RUN luet install -y livecd/grub2 --system-target /grub2
|
||||||
RUN luet install -y livecd/grub2-efi-image --system-target /efi
|
RUN luet install -y livecd/grub2-efi-image --system-target /efi
|
||||||
|
Loading…
Reference in New Issue
Block a user