Skip to content

Commit

Permalink
install kairos-agent to provider image and change base to ubuntu
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Mar 22, 2024
1 parent 4658326 commit bbefcd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,10 @@ uki-iso:
SAVE ARTIFACT /build/* AS LOCAL ./build/

uki-provider-image:
FROM $ALPINE_IMG
FROM gcr.io/spectro-images-public/ubuntu-systemd:22.04
WORKDIR /
COPY +luet/luet /usr/bin/luet
COPY +kairos-agent/kairos-agent /usr/bin/kairos-agent
COPY --platform=linux/${ARCH} +trust-boot-unpack/ /trusted-boot
COPY --platform=linux/${ARCH} +install-k8s/ /k8s
SAVE IMAGE --push $IMAGE_PATH
Expand All @@ -191,6 +192,10 @@ luet:
FROM quay.io/luet/base:latest
SAVE ARTIFACT /usr/bin/luet /luet

kairos-agent:
FROM $BASE_IMAGE
SAVE ARTIFACT /usr/bin/kairos-agent /kairos-agent

install-k8s:
FROM alpine
COPY +luet/luet /usr/bin/luet
Expand Down

0 comments on commit bbefcd6

Please sign in to comment.