Skip to content

Commit 197ad28

Browse files
committed
include v3oidcaccessfiletoken in openstack-client container
1 parent 7b58bcd commit 197ad28

1 file changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
# syntax=docker/dockerfile:1
22

33
ARG OPENSTACK_VERSION="required_argument"
4-
FROM quay.io/airshipit/openstack-client:${OPENSTACK_VERSION}-ubuntu_noble
4+
FROM quay.io/airshipit/openstack-client:${OPENSTACK_VERSION}-ubuntu_noble AS build
5+
6+
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
7+
8+
COPY python/keystoneauth-kubeservicetoken /src/keystoneauth-kubeservicetoken
9+
10+
RUN --mount=type=cache,target=/root/.cache/uv \
11+
uv pip install \
12+
--upgrade \
13+
--constraint https://releases.openstack.org/constraints/upper/${OPENSTACK_VERSION} \
14+
/src/keystoneauth-kubeservicetoken
15+
16+
ARG OPENSTACK_VERSION="required_argument"
17+
FROM quay.io/airshipit/openstack-client:${OPENSTACK_VERSION}-ubuntu_noble AS final
18+
COPY --from=build --link /var/lib/openstack /var/lib/openstack

0 commit comments

Comments
 (0)