blob: af04d8096409450e0ef45f22b992a8102ee68237 [file] [log] [blame]
Mohammed Naserf1ac3f82025-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 Naserf1ac3f82025-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 \
vexxhost-bot4c5b8f72024-07-31 15:18:12 +02009 osc-placement \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030010 python-barbicanclient \
11 python-designateclient \
12 python-glanceclient \
13 python-heatclient \
vexxhost-bot4c5b8f72024-07-31 15:18:12 +020014 python-ironicclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030015 python-magnumclient \
16 python-manilaclient \
17 python-neutronclient \
18 python-octaviaclient \
vexxhost-bot4c5b8f72024-07-31 15:18:12 +020019 python-openstackclient \
Tadas Sutkaitis7a286582024-05-01 02:12:08 +030020 python-swiftclient
21EOF
22
Mohammed Naserf1ac3f82025-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
vexxhost-bot0a5a3172024-07-13 01:03:21 +020025
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