Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions containers/neutron/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,19 @@ FROM quay.io/airshipit/neutron:${OPENSTACK_VERSION}-ubuntu_noble AS build

COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/

# renovate: name=openstack/neutron repo=https://github.com/rackerlabs/neutron.git branch=stable/2025.2
ARG NEUTRON_GIT_REF=feca3f33e610555099caececa990f18c2bad8c9c
ADD --keep-git-dir=true https://github.com/rackerlabs/neutron.git#${NEUTRON_GIT_REF} /src/neutron
RUN git -C /src/neutron fetch --unshallow --tags

COPY python/neutron-understack /src/neutron-understack

ARG OPENSTACK_VERSION="required_argument"
RUN --mount=type=cache,target=/root/.cache/uv \
uv pip install \
--upgrade \
--constraint https://releases.openstack.org/constraints/upper/${OPENSTACK_VERSION} \
/src/neutron \
/src/neutron-understack

ARG OPENSTACK_VERSION="required_argument"
Expand Down
Loading