blob: e6fcd63c452caab887a2072fdd34897f0926408a [file] [log] [blame]
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
3# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naserd4a365e2025-03-19 23:37:52 -04006# renovate: name=openstack/barbican repo=https://opendev.org/openstack/barbican.git branch=unmaintained/2023.1
Mohammed Naser5d4d4412024-05-24 19:36:35 +02007ARG BARBICAN_GIT_REF=9c8fb8c3a9a47276868d38a86f098e54e5f05ea6
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
10RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
11pip3 install \
12 --constraint /upper-constraints.txt \
13 /src/barbican \
14 pykmip
15EOF
16
Mohammed Naserfe5e63b2025-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