blob: 8b2761b4e9a396b75d7c6ef05eb9f8e85bbe96a8 [file] [log] [blame]
Mohammed Naser86615772024-06-01 10:02:09 -04001# SPDX-License-Identifier: Apache-2.0
Mohammed Naser735efe22024-06-26 23:46:25 -04002# Atmosphere-Rebuild-Time: 2024-06-26T17:38:39Z
Mohammed Naserda994232024-04-13 12:34:01 -04003
Mohammed Naserd30f18d2024-04-17 01:20:43 -04004ARG RELEASE
5
6FROM registry.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build
Mohammed Naser05795e52024-06-26 07:52:19 -04007ARG HEAT_GIT_REF=512052a0553cc3661aa850542a13466b07a0c5c6
Mohammed Naserda994232024-04-13 12:34:01 -04008ADD --keep-git-dir=true https://opendev.org/openstack/heat.git#${HEAT_GIT_REF} /src/heat
9RUN git -C /src/heat fetch --unshallow
10RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe
11pip3 install \
12 --constraint /upper-constraints.txt \
13 /src/heat
14EOF
15
Mohammed Naserd30f18d2024-04-17 01:20:43 -040016FROM registry.atmosphere.dev/library/openstack-python-runtime:${RELEASE}
Mohammed Naserda994232024-04-13 12:34:01 -040017RUN <<EOF bash -xe
18apt-get update -qq
19apt-get install -qq -y --no-install-recommends \
20 curl jq
21apt-get clean
22rm -rf /var/lib/apt/lists/*
23EOF
24COPY --from=build --link /var/lib/openstack /var/lib/openstack