blob: 1ccb14f96fcf032382b1e2cc5e4604bbc54e9711 [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 Naser49aa2332025-02-17 16:53:31 -05006ARG BARBICAN_GIT_REF=b5841df387e5ab38caf173950a1d98ab37a51453
Mohammed Naserda994232024-04-13 12:34:01 -04007ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican
8RUN git -C /src/barbican fetch --unshallow
Mohammed Naser4e2d8ac2025-02-21 15:02:33 -05009RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
10uv pip install \
Mohammed Naserda994232024-04-13 12:34:01 -040011 --constraint /upper-constraints.txt \
12 /src/barbican \
13 pykmip
14EOF
15
Mohammed Naser564caa82025-01-18 15:49:44 -050016FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040017COPY --from=build --link /var/lib/openstack /var/lib/openstack