blob: 01e293b738aba9e434c01706601dc95134d4bc69 [file] [log] [blame]
vexxhost-bota62d9312024-06-01 21:13:59 +02001# SPDX-License-Identifier: Apache-2.0
vexxhost-bot4a8f0912024-06-28 22:34:23 +02002# Atmosphere-Rebuild-Time: 2024-06-28T12:14:26Z
Mohammed Naserd28fbaf2024-04-08 17:15:00 -04003
Mohammed Naser19c6c8a2024-04-18 01:47:10 -04004ARG RELEASE
5
Yaguang Tangae1f4102024-12-13 22:27:22 +08006FROM harbor.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build
Mohammed Naserd28fbaf2024-04-08 17:15:00 -04007ARG HEAT_GIT_REF=d3948706a3ff28d0160157f76f1e18244a8dad5c
8ADD --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
Yaguang Tangae1f4102024-12-13 22:27:22 +080016FROM harbor.atmosphere.dev/library/openstack-python-runtime:${RELEASE}
Mohammed Naserd28fbaf2024-04-08 17:15:00 -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