vexxhost-bot | a62d931 | 2024-06-01 21:13:59 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
vexxhost-bot | 4a8f091 | 2024-06-28 22:34:23 +0200 | [diff] [blame] | 2 | # Atmosphere-Rebuild-Time: 2024-06-28T12:14:26Z |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 3 | |
Mohammed Naser | aa212e6 | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 4 | ARG REGISTRY |
Mohammed Naser | 19c6c8a | 2024-04-18 01:47:10 -0400 | [diff] [blame] | 5 | ARG RELEASE |
| 6 | |
Mohammed Naser | aa212e6 | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 7 | FROM ${REGISTRY}/openstack-venv-builder:${RELEASE} AS build |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 8 | ARG BARBICAN_GIT_REF=7d6749fcb1ad16a3350de82cd8e523d5b55306f8 |
| 9 | ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican |
| 10 | RUN git -C /src/barbican fetch --unshallow |
| 11 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 12 | pip3 install \ |
| 13 | --constraint /upper-constraints.txt \ |
| 14 | /src/barbican \ |
| 15 | pykmip |
| 16 | EOF |
| 17 | |
Mohammed Naser | aa212e6 | 2025-01-15 16:49:44 -0500 | [diff] [blame] | 18 | FROM ${REGISTRY}/openstack-python-runtime:${RELEASE} |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 19 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |