Merge "install-docker: install build-essential for cffi on Xenial"

This commit is contained in:
Zuul 2021-07-12 18:00:42 +00:00 committed by Gerrit Code Review
commit 0fcb7a81a4
1 changed files with 7 additions and 4 deletions

View File

@ -18,11 +18,14 @@
# We install docker-compose from pypi to get features like
# stop_grace_period.
# On arm64 we need build-essential, python3-dev, libffi-dev, and libssl-dev
# because wheels don't exist for all the things on arm64
# On arm64 we need build-essential, python3-dev, libffi-dev, and
# libssl-dev because wheels don't exist for all the things on arm64.
# Similarly for Xenial while we have it, some things (cffi) have
# stopped providing Python 3.5 wheels
- name: Install arm64 dev pacakges
when: ansible_architecture == 'aarch64'
when: >
ansible_architecture == 'aarch64' or
ansible_distribution_release == 'xenial'
package:
name:
- build-essential