| # SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc. |
| # SPDX-License-Identifier: GPL-3.0-or-later |
| # Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z |
| |
| FROM openstack-venv-builder AS build |
| RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| pip3 install \ |
| --constraint /upper-constraints.txt \ |
| osc-placement \ |
| python-barbicanclient \ |
| python-designateclient \ |
| python-glanceclient \ |
| python-heatclient \ |
| python-ironicclient \ |
| python-magnumclient \ |
| python-manilaclient \ |
| python-neutronclient \ |
| python-octaviaclient \ |
| python-openstackclient \ |
| python-senlinclient \ |
| python-swiftclient |
| EOF |
| |
| FROM python-base |
| COPY --from=build --link /var/lib/openstack /var/lib/openstack |
| |
| # NOTE(mnaser): The Magnum client relies on the SHELL environment variable |
| # to determine the shell to use. |
| ENV SHELL=/bin/bash |
| |
| # NOTE(mnaser): When we call this container, we mount the current directory |
| # into `/opt` and then we can call `openstack` commands. |
| WORKDIR /opt |