blob: 5d8a7962ffdb0e4070d3de17fb26362724f1989a [file] [log] [blame]
Mohammed Nasercc6868b2025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
Mohammed Naser735efe22024-06-26 23:46:25 -04003# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Nasercc6868b2025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser05795e52024-06-26 07:52:19 -04006ARG MANILA_GIT_REF=f0c33dec536708c940f2010d11dd8c778c28d2e7
Mohammed Naserda994232024-04-13 12:34:01 -04007ADD --keep-git-dir=true https://opendev.org/openstack/manila.git#${MANILA_GIT_REF} /src/manila
8RUN git -C /src/manila fetch --unshallow
9RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
10pip3 install \
11 --constraint /upper-constraints.txt \
12 /src/manila
13EOF
14
Mohammed Nasercc6868b2025-01-18 15:49:44 -050015FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040016RUN <<EOF bash -xe
17apt-get update -qq
18apt-get install -qq -y --no-install-recommends \
19 iproute2 openvswitch-switch
20apt-get clean
21rm -rf /var/lib/apt/lists/*
22EOF
23COPY --from=build --link /var/lib/openstack /var/lib/openstack