| # SPDX-License-Identifier: Apache-2.0 |
| # Atmosphere-Rebuild-Time: 2024-06-17T13:34:17Z |
| |
| ARG RELEASE |
| |
| FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
| ARG STAFFELN_GIT_REF=v2.2.3 |
| ADD --keep-git-dir=true https://github.com/vexxhost/staffeln.git#${STAFFELN_GIT_REF} /src/staffeln |
| RUN git -C /src/staffeln fetch --unshallow |
| RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| pip3 install \ |
| --constraint /upper-constraints.txt \ |
| /src/staffeln |
| EOF |
| |
| FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
| COPY --from=build --link /var/lib/openstack /var/lib/openstack |