blob: edf41565e78be1c1df28b95f6f9c0290768058e0 [file] [log] [blame] [edit]
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
FROM openstack-venv-builder AS build
# renovate: name=openstack/barbican repo=https://opendev.org/openstack/barbican.git branch=stable/2024.1
ARG BARBICAN_GIT_REF=6945564c4c3c8203f779d17b41e4c38d30664d84
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,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
pip3 install \
--constraint /upper-constraints.txt \
/src/barbican \
pykmip
EOF
FROM openstack-python-runtime
COPY --from=build --link /var/lib/openstack /var/lib/openstack