| # 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=221dae96df038d572dbe99f71e75e7bc7d2cf55e |
| 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,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 |