vexxhost-bot | a62d931 | 2024-06-01 21:13:59 +0200 | [diff] [blame] | 1 | # SPDX-License-Identifier: Apache-2.0 |
vexxhost-bot | 4a8f091 | 2024-06-28 22:34:23 +0200 | [diff] [blame] | 2 | # Atmosphere-Rebuild-Time: 2024-06-28T12:14:26Z |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 3 | |
Mohammed Naser | 19c6c8a | 2024-04-18 01:47:10 -0400 | [diff] [blame] | 4 | ARG RELEASE |
| 5 | |
Yaguang Tang | ae1f410 | 2024-12-13 22:27:22 +0800 | [diff] [blame] | 6 | FROM harbor.atmosphere.dev/library/openstack-venv-builder:${RELEASE} AS build |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 7 | ARG DESIGNATE_GIT_REF=d247267823034c5e656f74e91b50475aa54d3fa6 |
| 8 | ADD --keep-git-dir=true https://opendev.org/openstack/designate.git#${DESIGNATE_GIT_REF} /src/designate |
| 9 | RUN git -C /src/designate fetch --unshallow |
| 10 | RUN --mount=type=cache,mode=0755,target=/root/.cache/pip,sharing=private <<EOF bash -xe |
| 11 | pip3 install \ |
| 12 | --constraint /upper-constraints.txt \ |
| 13 | /src/designate |
| 14 | EOF |
| 15 | |
Yaguang Tang | ae1f410 | 2024-12-13 22:27:22 +0800 | [diff] [blame] | 16 | FROM harbor.atmosphere.dev/library/openstack-python-runtime:${RELEASE} |
Mohammed Naser | d28fbaf | 2024-04-08 17:15:00 -0400 | [diff] [blame] | 17 | RUN <<EOF bash -xe |
| 18 | apt-get update -qq |
| 19 | apt-get install -qq -y --no-install-recommends \ |
| 20 | bind9utils |
| 21 | apt-get clean |
| 22 | rm -rf /var/lib/apt/lists/* |
| 23 | EOF |
| 24 | COPY --from=build --link /var/lib/openstack /var/lib/openstack |