blob: 814f76e7feb4a29a9177b0e2b41d8aa8ef572b1d [file] [log] [blame] [edit]
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# Atmosphere-Rebuild-Time: 2025-02-20T21:42:46Z
FROM openstack-venv-builder AS build
# renovate: name=openstack/barbican repo=https://opendev.org/openstack/barbican.git branch=stable/2024.2
ARG BARBICAN_GIT_REF=b5841df387e5ab38caf173950a1d98ab37a51453
ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican
RUN git -C /src/barbican fetch --unshallow
RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
uv pip install \
--constraint /upper-constraints.txt \
/src/barbican \
pykmip
EOF
FROM openstack-python-runtime
COPY --from=build --link /var/lib/openstack /var/lib/openstack