Mohammed Naser | f1ac3f8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 1 | # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| 2 | # SPDX-License-Identifier: GPL-3.0-or-later |
| 3 | # Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 4 | |
Mohammed Naser | f1ac3f8 | 2025-01-18 15:49:44 -0500 | [diff] [blame] | 5 | FROM openstack-venv-builder AS build |
Tadas Sutkaitis | 7a28658 | 2024-05-01 02:12:08 +0300 | [diff] [blame] | 6 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 7 | pip3 install \ |
| 8 | --constraint /upper-constraints.txt \ |
vexxhost-bot | 4c5b8f7 | 2024-07-31 15:18:12 +0200 | [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 \ |
vexxhost-bot | 4c5b8f7 | 2024-07-31 15:18:12 +0200 | [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 \ |
vexxhost-bot | 4c5b8f7 | 2024-07-31 15:18:12 +0200 | [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 | f1ac3f8 | 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 |
vexxhost-bot | 0a5a317 | 2024-07-13 01:03:21 +0200 | [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 |