blob: b940b3be573ec1bed6fe2d27c636d19907e9700d [file] [log] [blame]
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z
FROM openstack-venv-builder AS build
RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
uv pip 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-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