Skip to content

Commit 74621f1

Browse files
committed
include v3oidcaccessfiletoken in openstack-client container
1 parent 7b58bcd commit 74621f1

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,19 @@
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+
ARG OPENSTACK_VERSION="required_argument"
11+
RUN --mount=type=cache,target=/root/.cache/uv \
12+
uv pip install \
13+
--upgrade \
14+
--constraint https://releases.openstack.org/constraints/upper/${OPENSTACK_VERSION} \
15+
/src/keystoneauth-kubeservicetoken
16+
17+
ARG OPENSTACK_VERSION="required_argument"
18+
FROM quay.io/airshipit/openstack-client:${OPENSTACK_VERSION}-ubuntu_noble AS final
19+
COPY --from=build --link /var/lib/openstack /var/lib/openstack

0 commit comments

Comments
 (0)