vexxhost-bot | 6e0e436 | 2024-06-01 21:24:08 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
| 2 | # Atmosphere-Rebuild-Time: 2024-05-30T20:29:01Z |
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 | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 7 | ARG HORIZON_GIT_REF=b467683b1ed2aab4e38fe2cb2ac7ae5500e5d5c0 |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 8 | ADD --keep-git-dir=true https://opendev.org/openstack/horizon.git#${HORIZON_GIT_REF} /src/horizon |
| 9 | RUN git -C /src/horizon fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 10 | ADD --keep-git-dir=true https://opendev.org/openstack/designate-dashboard.git#stable/2023.1 /src/designate-dashboard |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 11 | RUN git -C /src/designate-dashboard fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 12 | ADD --keep-git-dir=true https://opendev.org/openstack/heat-dashboard.git#stable/2023.1 /src/heat-dashboard |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 13 | RUN git -C /src/heat-dashboard fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 14 | ADD --keep-git-dir=true https://opendev.org/openstack/ironic-ui.git#stable/2023.1 /src/ironic-ui |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 15 | RUN git -C /src/ironic-ui fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 16 | ADD --keep-git-dir=true https://opendev.org/openstack/magnum-ui.git#stable/2023.1 /src/magnum-ui |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 17 | RUN git -C /src/magnum-ui fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 18 | ADD --keep-git-dir=true https://opendev.org/openstack/manila-ui.git#stable/2023.1 /src/manila-ui |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 19 | RUN git -C /src/manila-ui fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 20 | ADD --keep-git-dir=true https://opendev.org/openstack/neutron-vpnaas-dashboard.git#stable/2023.1 /src/neutron-vpnaas-dashboard |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 21 | RUN git -C /src/neutron-vpnaas-dashboard fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 22 | ADD --keep-git-dir=true https://opendev.org/openstack/octavia-dashboard.git#stable/2023.1 /src/octavia-dashboard |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 23 | RUN git -C /src/octavia-dashboard fetch --unshallow |
Mohammed Naser | 5d4d441 | 2024-05-24 19:36:35 +0200 | [diff] [blame] | 24 | ADD --keep-git-dir=true https://opendev.org/openstack/senlin-dashboard.git#stable/2023.1 /src/senlin-dashboard |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 25 | RUN git -C /src/senlin-dashboard fetch --unshallow |
| 26 | COPY patches/magnum-ui /patches/magnum-ui |
| 27 | RUN git -C /src/magnum-ui apply --verbose /patches/magnum-ui/* |
| 28 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 29 | pip3 install \ |
| 30 | --constraint /upper-constraints.txt \ |
| 31 | /src/designate-dashboard \ |
| 32 | /src/heat-dashboard \ |
| 33 | /src/horizon \ |
| 34 | /src/ironic-ui \ |
| 35 | /src/magnum-ui \ |
| 36 | /src/manila-ui \ |
| 37 | /src/neutron-vpnaas-dashboard \ |
| 38 | /src/octavia-dashboard \ |
| 39 | /src/senlin-dashboard \ |
| 40 | pymemcache |
| 41 | EOF |
| 42 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 43 | FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 44 | RUN <<EOF bash -xe |
| 45 | apt-get update -qq |
| 46 | apt-get install -qq -y --no-install-recommends \ |
| 47 | apache2 gettext libapache2-mod-wsgi-py3 |
| 48 | apt-get clean |
| 49 | rm -rf /var/lib/apt/lists/* |
| 50 | EOF |
| 51 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |