-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile
More file actions
33 lines (29 loc) · 1.19 KB
/
Dockerfile
File metadata and controls
33 lines (29 loc) · 1.19 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
33
# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
# SPDX-License-Identifier: GPL-3.0-or-later
# Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z
FROM ghcr.io/vexxhost/openstack-venv-builder:main@sha256:35a96fcc9cb56c3f6ad7025187c18229b2760491f50b925b38e4429105124cb1 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 \
tap-as-a-service
EOF
FROM ghcr.io/vexxhost/python-base:main@sha256:df0f7c05b006fbfa355077571a42745b36e610e674c8ca77f5ac8de2e0fd0fba
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