vexxhost-bot | 6e0e436 | 2024-06-01 21:24:08 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
vexxhost-bot | 65e04a2 | 2024-06-26 15:46:55 +0200 | [diff] [blame] | 2 | # Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 3 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 4 | ARG RELEASE |
| 5 | |
Yaguang Tang | ba6760e | 2024-12-13 12:59:40 +0800 | [diff] [blame] | 6 | FROM harbor.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 7 | ARG BARBICAN_GIT_REF=9c8fb8c3a9a47276868d38a86f098e54e5f05ea6 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 8 | ADD --keep-git-dir=true https://opendev.org/openstack/barbican.git#${BARBICAN_GIT_REF} /src/barbican |
| 9 | RUN git -C /src/barbican fetch --unshallow |
| 10 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 11 | pip3 install \ |
| 12 | --constraint /upper-constraints.txt \ |
| 13 | /src/barbican \ |
| 14 | pykmip |
| 15 | EOF |
| 16 | |
Yaguang Tang | ba6760e | 2024-12-13 12:59:40 +0800 | [diff] [blame] | 17 | FROM harbor.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 18 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |