blob: ece7f8d9973ed01578715d04359d32a5073f95a8 [file] [log] [blame]
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
3# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Tadas Sutkaitis7a286582024-05-01 02:12:08 +03004
Mohammed Naserfe5e63b2025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Tadas Sutkaitis7a286582024-05-01 02:12:08 +03006RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
7pip3 install \
8 --constraint /upper-constraints.txt \
Giovanni Tirlonie7887882024-07-31 19:36:01 -03009 osc-placement \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030010 python-barbicanclient \
11 python-designateclient \
12 python-glanceclient \
13 python-heatclient \
Giovanni Tirlonie7887882024-07-31 19:36:01 -030014 python-ironicclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030015 python-magnumclient \
16 python-manilaclient \
17 python-neutronclient \
18 python-octaviaclient \
Giovanni Tirlonie7887882024-07-31 19:36:01 -030019 python-openstackclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030020 python-senlinclient \
21 python-swiftclient
22EOF
23
Mohammed Naserfe5e63b2025-01-18 15:49:44 -050024FROM python-base
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030025COPY --from=build --link /var/lib/openstack /var/lib/openstack
vexxhost-bot0f86d092024-07-13 01:09:09 +020026
27# NOTE(mnaser): The Magnum client relies on the SHELL environment variable
28# to determine the shell to use.
29ENV SHELL=/bin/bash
30
31# NOTE(mnaser): When we call this container, we mount the current directory
32# into `/opt` and then we can call `openstack` commands.
33WORKDIR /opt