| # SPDX-License-Identifier: Apache-2.0 |
| # Atmosphere-Rebuild-Time: 2024-06-25T13:53:44Z |
| FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
| ARG PLACEMENT_GIT_REF=a361622d749d3b24aad638ec1b03a7d7124a87b3 |
| ADD --keep-git-dir=true https://opendev.org/openstack/placement.git#${PLACEMENT_GIT_REF} /src/placement |
| RUN git -C /src/placement fetch --unshallow |
| RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| --constraint /upper-constraints.txt \ |
| FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
| COPY --from=build --link /var/lib/openstack /var/lib/openstack |