vexxhost-bot | 6e0e436 | 2024-06-01 21:24:08 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
vexxhost-bot | 65e04a2 | 2024-06-26 15:46:55 +0200 | [diff] [blame] | 2 | # Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 3 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 4 | ARG RELEASE |
| 5 | |
| 6 | FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
Yaguang Tang | 2e3f2aa | 2024-07-09 04:23:29 +0800 | [diff] [blame^] | 7 | ARG NOVA_GIT_REF=f732f8476851e6272d8ad9937f54b918795844e8 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 8 | ADD --keep-git-dir=true https://opendev.org/openstack/nova.git#${NOVA_GIT_REF} /src/nova |
| 9 | RUN git -C /src/nova fetch --unshallow |
| 10 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 11 | pip3 install \ |
| 12 | --constraint /upper-constraints.txt \ |
Mohammed Naser | 87fe120 | 2024-04-29 19:48:02 -0400 | [diff] [blame] | 13 | /src/nova \ |
Mohammed Naser | fd2db85 | 2024-05-16 22:24:46 +0200 | [diff] [blame] | 14 | python-ironicclient \ |
Mohammed Naser | 87fe120 | 2024-04-29 19:48:02 -0400 | [diff] [blame] | 15 | storpool \ |
| 16 | storpool.spopenstack |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 17 | EOF |
Mohammed Naser | 87fe120 | 2024-04-29 19:48:02 -0400 | [diff] [blame] | 18 | ADD --chmod=644 \ |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 19 | https://github.com/storpool/storpool-openstack-integration/raw/master/drivers/os_brick/openstack/antelope/storpool.py \ |
Mohammed Naser | 87fe120 | 2024-04-29 19:48:02 -0400 | [diff] [blame] | 20 | /var/lib/openstack/lib/python3.10/site-packages/os_brick/initiator/connectors/storpool.py |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 21 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 22 | FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 23 | ADD https://github.com/novnc/noVNC.git#v1.4.0 /usr/share/novnc |
| 24 | RUN <<EOF bash -xe |
| 25 | apt-get update -qq |
| 26 | apt-get install -qq -y --no-install-recommends \ |
Oleksandr K | 4aae76e | 2024-05-19 01:24:08 +0200 | [diff] [blame] | 27 | ceph-common genisoimage iproute2 libosinfo-bin lsscsi ndctl nvme-cli openssh-client ovmf python3-libvirt python3-rados python3-rbd qemu-efi-aarch64 qemu-block-extra qemu-utils sysfsutils udev util-linux |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 28 | apt-get clean |
| 29 | rm -rf /var/lib/apt/lists/* |
| 30 | EOF |
| 31 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |