blob: cb535bc3c206a458c19bf2b66dfe6bf6c468ab4d [file] [log] [blame]
# 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/2023.2
ARG BARBICAN_GIT_REF=00274b2f07d050c5b4571bfc0f4e5698acf678f1
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