blob: b940b3be573ec1bed6fe2d27c636d19907e9700d [file] [log] [blame]
Mohammed Naser564caa82025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
Mohammed Nasere786d962024-06-26 01:08:34 -04003# Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z
Tadas Sutkaitis7a286582024-05-01 02:12:08 +03004
Mohammed Naser564caa82025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser4e2d8ac2025-02-21 15:02:33 -05006RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
7uv pip install \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +03008 --constraint /upper-constraints.txt \
Giovanni Tirlonidd018382024-07-30 20:56:02 -03009 osc-placement \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030010 python-barbicanclient \
11 python-designateclient \
12 python-glanceclient \
13 python-heatclient \
Giovanni Tirlonidd018382024-07-30 20:56:02 -030014 python-ironicclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030015 python-magnumclient \
16 python-manilaclient \
17 python-neutronclient \
18 python-octaviaclient \
Giovanni Tirlonidd018382024-07-30 20:56:02 -030019 python-openstackclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030020 python-swiftclient
21EOF
22
Mohammed Naser564caa82025-01-18 15:49:44 -050023FROM python-base
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030024COPY --from=build --link /var/lib/openstack /var/lib/openstack
Mohammed Naserc7fa0362024-07-12 14:49:05 -040025
26# NOTE(mnaser): The Magnum client relies on the SHELL environment variable
27# to determine the shell to use.
28ENV 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.
32WORKDIR /opt