Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
Mohammed Naser | e786d96 | 2024-06-26 01:08:34 -0400 | [diff] [blame] | 3 | # Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 4 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 5 | FROM openstack-venv-builder AS build |
Mohammed Naser | 4e2d8ac | 2025-02-21 15:02:33 -0500 | [diff] [blame] | 6 | RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe |
| 7 | uv pip install \ |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 8 | --constraint /upper-constraints.txt \ |
Giovanni Tirloni | dd01838 | 2024-07-30 20:56:02 -0300 | [diff] [blame] | 9 | osc-placement \ |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 10 | python-barbicanclient \ |
| 11 | python-designateclient \ |
| 12 | python-glanceclient \ |
| 13 | python-heatclient \ |
Giovanni Tirloni | dd01838 | 2024-07-30 20:56:02 -0300 | [diff] [blame] | 14 | python-ironicclient \ |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 15 | python-magnumclient \ |
| 16 | python-manilaclient \ |
| 17 | python-neutronclient \ |
| 18 | python-octaviaclient \ |
Giovanni Tirloni | dd01838 | 2024-07-30 20:56:02 -0300 | [diff] [blame] | 19 | python-openstackclient \ |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 20 | python-swiftclient |
| 21 | EOF |
| 22 | |
Mohammed Naser | 564caa8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 23 | FROM python-base |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 24 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |
Mohammed Naser | c7fa036 | 2024-07-12 14:49:05 -0400 | [diff] [blame] | 25 | |
| 26 | # NOTE(mnaser): The Magnum client relies on the SHELL environment variable |
| 27 | # to determine the shell to use. |
| 28 | ENV SHELL=/bin/bash |
| 29 | |
| 30 | # NOTE(mnaser): When we call this container, we mount the current directory |
| 31 | # into `/opt` and then we can call `openstack` commands. |
| 32 | WORKDIR /opt |