blob: fb0012ad56a4fa2055a552012bb12c16dedaedd6 [file] [log] [blame]
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
3# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser5d4d4412024-05-24 19:36:35 +02006ARG SENLIN_GIT_REF=22fd77946723e25e595676e61893c1f645709b2f
Mohammed Naserda994232024-04-13 12:34:01 -04007ADD --keep-git-dir=true https://opendev.org/openstack/senlin.git#${SENLIN_GIT_REF} /src/senlin
8RUN git -C /src/senlin 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/senlin
13EOF
14
Mohammed Naserfe5e63b2025-01-18 15:49:44 -050015FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040016COPY --from=build --link /var/lib/openstack /var/lib/openstack