blob: 3d42aa902dff31ea6ce6b64d33e7e11dba15db4e [file] [log] [blame]
Mohammed Naser564caa82025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
Mohammed Naser30004232025-02-20 16:43:21 -05003# Atmosphere-Rebuild-Time: 2025-02-20T21:42:46Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Naser564caa82025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser8ed5c8e2025-03-19 23:37:52 -04006# renovate: name=openstack/manila repo=https://opendev.org/openstack/manila.git branch=stable/2024.2
Renovatebot4f859e72025-03-26 17:46:19 +00007ARG MANILA_GIT_REF=d0b1e965db5e9743152b82fa4a3dcf0d724e9006
Mohammed Naserda994232024-04-13 12:34:01 -04008ADD --keep-git-dir=true https://opendev.org/openstack/manila.git#${MANILA_GIT_REF} /src/manila
9RUN git -C /src/manila fetch --unshallow
Mohammed Naserafc8c8c2025-02-21 15:02:33 -050010RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
11uv pip install \
Mohammed Naserda994232024-04-13 12:34:01 -040012 --constraint /upper-constraints.txt \
13 /src/manila
14EOF
15
Mohammed Naser564caa82025-01-18 15:49:44 -050016FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040017RUN <<EOF bash -xe
18apt-get update -qq
19apt-get install -qq -y --no-install-recommends \
20 iproute2 openvswitch-switch
21apt-get clean
22rm -rf /var/lib/apt/lists/*
23EOF
24COPY --from=build --link /var/lib/openstack /var/lib/openstack