Mohammed Naser | 7bda44d | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
Mohammed Naser | cf7c06d | 2025-02-18 09:25:27 -0500 | [diff] [blame] | 3 | # Atmosphere-Rebuild-Time: 2025-02-18T16:06:32Z |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 4 | |
Mohammed Naser | 7bda44d | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 5 | FROM openstack-venv-builder AS build |
Mohammed Naser | 8a702e4 | 2024-07-11 16:15:53 -0400 | [diff] [blame] | 6 | ARG NOVA_GIT_REF=ba71dc50dbba82bbdecb845afea67ad2275897ec |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 7 | ADD --keep-git-dir=true https://opendev.org/openstack/nova.git#${NOVA_GIT_REF} /src/nova |
| 8 | RUN git -C /src/nova fetch --unshallow |
Rico Lin | 84d4ae5 | 2024-06-06 21:05:59 +0800 | [diff] [blame] | 9 | COPY patches/nova /patches/nova |
| 10 | RUN git -C /src/nova apply --verbose /patches/nova/* |
vexxhost-bot | 8eef487 | 2024-12-17 00:42:23 -0500 | [diff] [blame] | 11 | ARG SCHEDULER_FILTERS_GIT_REF=77ed1c2ca70f4166a6d0995c7d3d90822f0ca6c0 |
vexxhost-bot | 998d306 | 2024-07-19 04:12:06 +0200 | [diff] [blame] | 12 | ADD --keep-git-dir=true https://github.com/vexxhost/nova-scheduler-filters.git#${SCHEDULER_FILTERS_GIT_REF} /src/nova-scheduler-filters |
| 13 | RUN git -C /src/nova-scheduler-filters fetch --unshallow |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 14 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 15 | pip3 install \ |
| 16 | --constraint /upper-constraints.txt \ |
Mohammed Naser | d61f3d4 | 2024-04-24 00:32:54 -0400 | [diff] [blame] | 17 | /src/nova \ |
vexxhost-bot | 998d306 | 2024-07-19 04:12:06 +0200 | [diff] [blame] | 18 | /src/nova-scheduler-filters \ |
vexxhost-bot | 1d1b308 | 2024-05-19 00:41:48 +0100 | [diff] [blame] | 19 | python-ironicclient \ |
Mohammed Naser | d61f3d4 | 2024-04-24 00:32:54 -0400 | [diff] [blame] | 20 | storpool \ |
| 21 | storpool.spopenstack |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 22 | EOF |
Mohammed Naser | d61f3d4 | 2024-04-24 00:32:54 -0400 | [diff] [blame] | 23 | ADD --chmod=644 \ |
| 24 | https://github.com/storpool/storpool-openstack-integration/raw/master/drivers/os_brick/openstack/zed/storpool.py \ |
| 25 | /var/lib/openstack/lib/python3.10/site-packages/os_brick/initiator/connectors/storpool.py |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 26 | |
Mohammed Naser | 7bda44d | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 27 | FROM openstack-python-runtime |
Mohammed Naser | 0946745 | 2024-04-13 14:48:15 -0400 | [diff] [blame] | 28 | ADD https://github.com/novnc/noVNC.git#v1.4.0 /usr/share/novnc |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 29 | RUN <<EOF bash -xe |
| 30 | apt-get update -qq |
| 31 | apt-get install -qq -y --no-install-recommends \ |
Mohammed Naser | 7ee2925 | 2025-01-31 10:58:24 -0500 | [diff] [blame] | 32 | ceph-common dmidecode genisoimage iproute2 libosinfo-bin lsscsi ndctl nfs-common nvme-cli openssh-client ovmf python3-libvirt python3-rados python3-rbd qemu-efi-aarch64 qemu-block-extra qemu-utils sysfsutils udev util-linux swtpm swtpm-tools libtpms0 |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 33 | apt-get clean |
| 34 | rm -rf /var/lib/apt/lists/* |
| 35 | EOF |
| 36 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |