blob: f37e631240e885cb3bfeecab840e45a8101747a8 [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 Nasere786d962024-06-26 01:08:34 -04003# Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Naser564caa82025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser03e205a2025-03-19 23:37:52 -04006# renovate: name=openstack/barbican repo=https://opendev.org/openstack/barbican.git branch=master
Mohammed Naser49aa2332025-02-17 16:53:31 -05007ARG BARBICAN_GIT_REF=b5841df387e5ab38caf173950a1d98ab37a51453
Mohammed Naserda994232024-04-13 12:34:01 -04008ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican
9RUN git -C /src/barbican fetch --unshallow
Mohammed Naser4e2d8ac2025-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/barbican \
14 pykmip
15EOF
16
Mohammed Naser564caa82025-01-18 15:49:44 -050017FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040018COPY --from=build --link /var/lib/openstack /var/lib/openstack