Mohammed Naser | 19d6312 | 2024-01-08 17:10:05 -0500 | [diff] [blame] | 1 | VERSION 0.7 |
| 2 | |
| 3 | platform-image: |
| 4 | ARG RELEASE=zed |
| 5 | FROM ../cloud-archive-base+image --RELEASE=${RELEASE} |
Mohammed Naser | 19d6312 | 2024-01-08 17:10:05 -0500 | [diff] [blame] | 6 | 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 |
| 17 | SAVE IMAGE --push ghcr.io/vexxhost/atmosphere/libvirtd:${RELEASE} |
| 18 | |
| 19 | image: |
| 20 | BUILD --platform linux/amd64 --platform linux/arm64 +platform-image |