| # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| # SPDX-License-Identifier: GPL-3.0-or-later |
| # Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z |
| |
| FROM openstack-venv-builder AS build |
| ARG MANILA_GIT_REF=09f3ab0a229362c00bb55f704cfeae43bccd3c8d |
| ADD --keep-git-dir=true https://opendev.org/openstack/manila.git#${MANILA_GIT_REF} /src/manila |
| RUN git -C /src/manila fetch --unshallow |
| RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe |
| uv pip install \ |
| --constraint /upper-constraints.txt \ |
| /src/manila |
| EOF |
| |
| FROM openstack-python-runtime |
| RUN <<EOF bash -xe |
| apt-get update -qq |
| apt-get install -qq -y --no-install-recommends \ |
| iproute2 openvswitch-switch |
| apt-get clean |
| rm -rf /var/lib/apt/lists/* |
| EOF |
| COPY --from=build --link /var/lib/openstack /var/lib/openstack |