Mohammed Naser | 8661577 | 2024-06-01 10:02:09 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
Mohammed Naser | e786d96 | 2024-06-26 01:08:34 -0400 | [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 | |
| 6 | FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
Oleksandr K. | 7f35f89 | 2024-07-24 18:34:38 +0200 | [diff] [blame] | 7 | ARG HORIZON_GIT_REF=14212342cf8f7eb987e50de112958af31063e02e |
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 |
| 10 | ADD --keep-git-dir=true https://opendev.org/openstack/designate-dashboard.git#master /src/designate-dashboard |
| 11 | RUN git -C /src/designate-dashboard fetch --unshallow |
| 12 | ADD --keep-git-dir=true https://opendev.org/openstack/heat-dashboard.git#master /src/heat-dashboard |
| 13 | RUN git -C /src/heat-dashboard fetch --unshallow |
| 14 | ADD --keep-git-dir=true https://opendev.org/openstack/ironic-ui.git#master /src/ironic-ui |
| 15 | RUN git -C /src/ironic-ui fetch --unshallow |
| 16 | ADD --keep-git-dir=true https://opendev.org/openstack/magnum-ui.git#master /src/magnum-ui |
| 17 | RUN git -C /src/magnum-ui fetch --unshallow |
| 18 | ADD --keep-git-dir=true https://opendev.org/openstack/manila-ui.git#master /src/manila-ui |
| 19 | RUN git -C /src/manila-ui fetch --unshallow |
| 20 | ADD --keep-git-dir=true https://opendev.org/openstack/neutron-vpnaas-dashboard.git#master /src/neutron-vpnaas-dashboard |
| 21 | RUN git -C /src/neutron-vpnaas-dashboard fetch --unshallow |
| 22 | ADD --keep-git-dir=true https://opendev.org/openstack/octavia-dashboard.git#master /src/octavia-dashboard |
| 23 | RUN git -C /src/octavia-dashboard fetch --unshallow |
Oleksandr K. | 7f35f89 | 2024-07-24 18:34:38 +0200 | [diff] [blame] | 24 | COPY patches/horizon /patches/horizon |
| 25 | RUN git -C /src/horizon apply --verbose /patches/horizon/* |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 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 \ |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 39 | pymemcache |
| 40 | EOF |
| 41 | |
Mohammed Naser | d30f18d | 2024-04-17 01:20:43 -0400 | [diff] [blame] | 42 | FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | da99423 | 2024-04-13 12:34:01 -0400 | [diff] [blame] | 43 | RUN <<EOF bash -xe |
| 44 | apt-get update -qq |
| 45 | apt-get install -qq -y --no-install-recommends \ |
| 46 | apache2 gettext libapache2-mod-wsgi-py3 |
| 47 | apt-get clean |
| 48 | rm -rf /var/lib/apt/lists/* |
| 49 | EOF |
| 50 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |