blob: 1dea2ccc7a8ff19330d06ede6bc42da25e0ac8e7 [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 Naser4c92a7f2025-01-29 11:15:23 -05006ADD --keep-git-dir=true https://opendev.org/openstack/senlin.git#2023.1-eol /src/senlin
Mohammed Naserda994232024-04-13 12:34:01 -04007RUN git -C /src/senlin fetch --unshallow
8RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
9pip3 install \
10 --constraint /upper-constraints.txt \
11 /src/senlin
12EOF
13
Mohammed Naserfe5e63b2025-01-18 15:49:44 -050014FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040015COPY --from=build --link /var/lib/openstack /var/lib/openstack