Skip to content

Commit

Permalink
[stable/zed] Build requirements from pinned Git hash (#1317)
Browse files Browse the repository at this point in the history
Depends-On: #1266
  • Loading branch information
mnaser authored Jun 5, 2024
1 parent db88658 commit b0bef88
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion images/openstack-venv-builder/Dockerfile
Original file line number Diff line number Diff line change
@@ -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/zed /upper-constraints.txt
ARG REQUIREMENTS_GIT_REF=b4513973fdd1c3b43159fe0e02fa73d845a9c1ba
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 <<EOF sh -xe
sed -i 's/cryptography===36.0.2/cryptography===42.0.4/' /upper-constraints.txt
sed -i 's/Django===3.2.15/Django===3.2.24/' /upper-constraints.txt
Expand Down

0 comments on commit b0bef88

Please sign in to comment.