-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (28 loc) · 1.17 KB
/
Dockerfile
File metadata and controls
32 lines (28 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
FROM ghcr.io/vexxhost/openstack-venv-builder:2023.2@sha256:42fb73f081f098df7fda32c8a3cc9031c0c977b1da7e3abece847ad3980f21f7 AS build
RUN <<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 ghcr.io/vexxhost/python-base:2023.2@sha256:220d65e3184ef5a50978abac042c8b4e9cb15829dfd8d32249da2c544a101df1
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