Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
Mohammed Naser | 3000423 | 2025-02-20 16:43:21 -0500 | [diff] [blame] | 3 | # Atmosphere-Rebuild-Time: 2025-02-20T21:42:46Z |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 4 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 5 | FROM openstack-venv-builder AS build |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 6 | ARG STAFFELN_GIT_REF=v2.2.3 |
| 7 | ADD --keep-git-dir=true https://github.com/vexxhost/staffeln.git#${STAFFELN_GIT_REF} /src/staffeln |
| 8 | RUN git -C /src/staffeln fetch --unshallow |
Mohammed Naser | afc8c8c | 2025-02-21 15:02:33 -0500 | [diff] [blame] | 9 | RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe |
| 10 | uv pip install \ |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 11 | --constraint /upper-constraints.txt \ |
| 12 | /src/staffeln |
| 13 | EOF |
| 14 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 15 | FROM openstack-python-runtime |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 16 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |