Mohammed Naser | 8661577 | 2024-06-01 10:02:09 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
vexxhost-bot | c2fd428 | 2024-06-26 07:04:25 +0200 | [diff] [blame] | 2 | # Atmosphere-Rebuild-Time: 2024-06-25T13:53:44Z |
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 | |
| 6 | FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 7 | ARG STAFFELN_GIT_REF=v2.2.3 |
| 8 | ADD --keep-git-dir=true https://github.com/vexxhost/staffeln.git#${STAFFELN_GIT_REF} /src/staffeln |
| 9 | RUN git -C /src/staffeln 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/staffeln |
| 14 | EOF |
| 15 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 16 | FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 17 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |