File tree Expand file tree Collapse file tree
containers/openstack-client Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# syntax=docker/dockerfile:1
22
33ARG 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
You can’t perform that action at this time.
0 commit comments