Signed-off-by: Mohammed Naser <mnaser@vexxhost.com> Co-authored-by: Claude <noreply@anthropic.com>
35 lines
1.1 KiB
Docker
35 lines
1.1 KiB
Docker
# 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
|
|
ARG UV_CACHE_ID=uv-default
|
|
RUN --mount=type=cache,id=${UV_CACHE_ID},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 \
|
|
tap-as-a-service
|
|
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
|