blob: e6b01fee55770a581d539e4ba9e6b30985793283 [file] [log] [blame]
Mohammed Naser19d63122024-01-08 17:10:05 -05001VERSION 0.7
2
Mohammed Naser12207172024-02-05 18:49:35 -05003ARG --global REGISTRY=ghcr.io/vexxhost/atmosphere
4
Mohammed Naser19d63122024-01-08 17:10:05 -05005platform-image:
6 ARG RELEASE=zed
7 FROM ../cloud-archive-base+image --RELEASE=${RELEASE}
Mohammed Naser19d63122024-01-08 17:10:05 -05008 COPY keyrings/ceph.gpg /etc/apt/trusted.gpg.d/
9 IF [ "$(lsb_release -sc)" = "focal" ]
10 RUN echo "deb http://download.ceph.com/debian-quincy/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ceph.list
11 ELSE IF [ "$(lsb_release -sc)" = "jammy" ]
12 RUN echo "deb http://download.ceph.com/debian-reef/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/ceph.list
13 ELSE
14 RUN echo "${RELEASE} is not supported on $(lsb_release -sc)"
15 RUN exit 1
16 END
17 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"
18 DO ../+CREATE_PROJECT_USER --PROJECT=nova
Mohammed Naser12207172024-02-05 18:49:35 -050019 SAVE IMAGE --push ${REGISTRY}/libvirtd:${RELEASE}
Mohammed Naser19d63122024-01-08 17:10:05 -050020
21image:
22 BUILD --platform linux/amd64 --platform linux/arm64 +platform-image