blob: 13e6aeb1af13853703a897f422e83cfb1bbc142c [file] [log] [blame]
Mohammed Naser19d63122024-01-08 17:10:05 -05001VERSION 0.7
2
3platform-image:
4 ARG RELEASE=zed
5 FROM ../cloud-archive-base+image --RELEASE=${RELEASE}
Mohammed Naser19d63122024-01-08 17:10:05 -05006 COPY keyrings/ceph.gpg /etc/apt/trusted.gpg.d/
7 IF [ "$(lsb_release -sc)" = "focal" ]
8 RUN echo "deb http://download.ceph.com/debian-quincy/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ceph.list
9 ELSE IF [ "$(lsb_release -sc)" = "jammy" ]
10 RUN echo "deb http://download.ceph.com/debian-reef/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ceph.list
11 ELSE
12 RUN echo "${RELEASE} is not supported on $(lsb_release -sc)"
13 RUN exit 1
14 END
15 DO ../+APT_INSTALL --PACKAGES="ceph-common cgroup-tools dmidecode ebtables iproute2 ipxe-qemu kmod libvirt-clients libvirt-daemon-system openssh-client openvswitch-switch ovmf pm-utils qemu-block-extra qemu-efi qemu-kvm seabios"
16 DO ../+CREATE_PROJECT_USER --PROJECT=nova
Mohammed Naser1dfea6b2024-02-09 01:04:26 -050017 ARG REGISTRY=ghcr.io/vexxhost/atmosphere
Mohammed Naser12207172024-02-05 18:49:35 -050018 SAVE IMAGE --push ${REGISTRY}/libvirtd:${RELEASE}
Mohammed Naser19d63122024-01-08 17:10:05 -050019
20image:
21 BUILD --platform linux/amd64 --platform linux/arm64 +platform-image