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 | 8ed5c8e | 2025-03-19 23:37:52 -0400 | [diff] [blame] | 6 | # renovate: name=openstack/barbican repo=https://opendev.org/openstack/barbican.git branch=stable/2024.2 |
Mohammed Naser | 49aa233 | 2025-02-17 16:53:31 -0500 | [diff] [blame] | 7 | ARG BARBICAN_GIT_REF=b5841df387e5ab38caf173950a1d98ab37a51453 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 8 | ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican |
| 9 | RUN git -C /src/barbican fetch --unshallow |
Mohammed Naser | afc8c8c | 2025-02-21 15:02:33 -0500 | [diff] [blame] | 10 | RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe |
| 11 | uv pip install \ |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 12 | --constraint /upper-constraints.txt \ |
| 13 | /src/barbican \ |
| 14 | pykmip |
| 15 | EOF |
| 16 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 17 | FROM openstack-python-runtime |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 18 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |