blob: 0ffb6d4d9b6524887860b6dfb147c067999332b4 [file] [log] [blame]
Mohammed Nasercc6868b2025-01-18 15:49:44 -05001# SPDX-FileCopyrightText: © 2025 VEXXHOST, Inc.
2# SPDX-License-Identifier: GPL-3.0-or-later
Mohammed Naser735efe22024-06-26 23:46:25 -04003# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Mohammed Naserda994232024-04-13 12:34:01 -04004
Mohammed Nasercc6868b2025-01-18 15:49:44 -05005FROM openstack-venv-builder AS build
Mohammed Naser05795e52024-06-26 07:52:19 -04006ARG HEAT_GIT_REF=512052a0553cc3661aa850542a13466b07a0c5c6
Mohammed Naserda994232024-04-13 12:34:01 -04007ADD --keep-git-dir=true https://opendev.org/openstack/heat.git#${HEAT_GIT_REF} /src/heat
8RUN git -C /src/heat fetch --unshallow
9RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
10pip3 install \
11 --constraint /upper-constraints.txt \
12 /src/heat
13EOF
14
Mohammed Nasercc6868b2025-01-18 15:49:44 -050015FROM openstack-python-runtime
Mohammed Naserda994232024-04-13 12:34:01 -040016RUN <<EOF bash -xe
17apt-get update -qq
18apt-get install -qq -y --no-install-recommends \
19 curl jq
20apt-get clean
21rm -rf /var/lib/apt/lists/*
22EOF
23COPY --from=build --link /var/lib/openstack /var/lib/openstack