| # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| # SPDX-License-Identifier: GPL-3.0-or-later |
| # Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z |
| |
| FROM openstack-venv-builder AS build |
| ARG MANILA_GIT_REF=b4d1e6e9e6e9f77d5fb74c499badae92c271e1ba |
| ADD --keep-git-dir=true https://opendev.org/openstack/manila.git#${MANILA_GIT_REF} /src/manila |
| RUN git -C /src/manila fetch --unshallow |
| COPY patches/manila /patches/manila |
| RUN git -C /src/manila apply --verbose /patches/manila/* |
| RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| pip3 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 |