install-docker: install build-essential for cffi on Xenial
cffi has stopped providing Python 3.5 wheels; this may be a feature or a bug [1]. In the mean time, install build-essential, etc. so we can build at install time. [1] https://foss.heptapod.net/pypy/cffi/-/issues/503 Change-Id: Iece31a18048fd40472cfddd5262576ca150a86ac
This commit is contained in:
parent
f45f5f9626
commit
cc4903bd5f
@ -18,11 +18,14 @@
|
|||||||
# We install docker-compose from pypi to get features like
|
# We install docker-compose from pypi to get features like
|
||||||
# stop_grace_period.
|
# stop_grace_period.
|
||||||
|
|
||||||
# On arm64 we need build-essential, python3-dev, libffi-dev, and libssl-dev
|
# On arm64 we need build-essential, python3-dev, libffi-dev, and
|
||||||
# because wheels don't exist for all the things on arm64
|
# 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
|
- name: Install arm64 dev pacakges
|
||||||
when: ansible_architecture == 'aarch64'
|
when: >
|
||||||
|
ansible_architecture == 'aarch64' or
|
||||||
|
ansible_distribution_release == 'xenial'
|
||||||
package:
|
package:
|
||||||
name:
|
name:
|
||||||
- build-essential
|
- build-essential
|
||||||
|
Loading…
x
Reference in New Issue
Block a user