blob: 51609060ef22f6e5c0eb6aa9b5c425cf838af218 [file] [log] [blame]
Mohammed Naserdc1e9222025-03-13 19:29:46 -04001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
3# Atmosphere-Rebuild-Time: 2024-06-25T22:49:25Z
4
5FROM openstack-venv-builder AS build
Mohammed Naser03e205a2025-03-19 23:37:52 -04006# renovate: name=openstack/ovn-bgp-agent repo=https://opendev.org/openstack/ovn-bgp-agent.git branch=master
Mohammed Naserdc1e9222025-03-13 19:29:46 -04007ARG OVN_BGP_AGENT_GIT_REF=704742076a28c13b811ea37e71dae1e4b0aca573
8ADD --keep-git-dir=true https://opendev.org/openstack/ovn-bgp-agent.git#${OVN_BGP_AGENT_GIT_REF} /src/ovn-bgp-agent
9RUN git -C /src/ovn-bgp-agent fetch --unshallow
10RUN --mount=type=cache,target=/root/.cache/uv <<EOF bash -xe
11uv pip install \
12 --constraint /upper-constraints.txt \
13 /src/ovn-bgp-agent
14EOF
15
16FROM openstack-python-runtime
17COPY --from=build --link /var/lib/openstack /var/lib/openstack