From 36ab094ec72738e29547de373501efa510919f77 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Wed, 5 Jun 2024 13:11:15 -0400 Subject: [PATCH] [stable/2023.1] Build requirements from pinned Git hash (#1314) Depends-On: #1266 --- images/openstack-venv-builder/Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/images/openstack-venv-builder/Dockerfile b/images/openstack-venv-builder/Dockerfile index 6ff078fc7..e96fc5482 100644 --- a/images/openstack-venv-builder/Dockerfile +++ b/images/openstack-venv-builder/Dockerfile @@ -1,10 +1,14 @@ # SPDX-License-Identifier: Apache-2.0 # Atmosphere-Rebuild-Time: 2024-05-30T20:29:01Z +# Build + ARG RELEASE FROM registry.atmosphere.dev/library/ubuntu-cloud-archive:${RELEASE} AS requirements -ADD https://releases.openstack.org/constraints/upper/2023.1 /upper-constraints.txt +ARG REQUIREMENTS_GIT_REF=c15ff09802a7cc4561275c9c0dbcfed9213c6e11 +ADD --keep-git-dir=true https://opendev.org/openstack/requirements.git#${REQUIREMENTS_GIT_REF} /src/requirements +RUN cp /src/requirements/upper-constraints.txt /upper-constraints.txt RUN <