Skip to content

Commit 5baeaf4

Browse files
committed
Pin diskimage-builder version due to drop Python3.6
Since Ibdbcf459608711ac64e7fefb1707f6708d68e750 merged to master we need to pin diskimage-builder to latest stable tag with support of the Python3.6 until we move to CentOS9. Change-Id: I9f9e381716611b71584ecf8b371f8b7f45c694ee Signed-off-by: Maksim Malchuk <[email protected]> (cherry picked from commit 1b259ec)
1 parent e90786a commit 5baeaf4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docker/bifrost/bifrost-base/Dockerfile.j2

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ RUN echo " " && \
4242
{%- endif %}
4343
bash -c 'TOX_CONSTRAINTS_FILE=/requirements/upper-constraints.txt ./scripts/env-setup.sh && \
4444
ansible-playbook -vvvv -i /bifrost/playbooks/inventory/target /bifrost/playbooks/install.yaml \
45+
{%- if base_distro == 'centos' %}
46+
{# NOTE(mmalchuk): since DIB drop Python3.6 support we need to build DIB from #}
47+
{# the latest supported stable tag until we move to CentOS9 #}
48+
-e dib_git_branch="3.21.1" \
49+
{%- endif %}
4550
-e @/tmp/build_arg.yml && \
4651
{%- if base_package_type == 'deb' %}
4752
apt-get clean && rm -rf /var/lib/apt/lists/*'

0 commit comments

Comments
 (0)