From aa3fca532ac0a9e696ab5ea036e072831b2eea44 Mon Sep 17 00:00:00 2001 From: Alexander Hughes Date: Tue, 16 Jun 2020 15:28:10 -0400 Subject: [PATCH] Fix image build checks missing setuptools Use apt to install python3-pip, and use pip3 in event system has both pip2 and pip3 installed. Use apt to install setuptools for Ansible's consumption. Change-Id: Icd66c91e1c26627f756373800b3913d8c347e412 Signed-off-by: Alexander Hughes Co-Authored-By: Alexey Odinokov --- tools/gate/playbooks/docker-image-build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/gate/playbooks/docker-image-build.yaml b/tools/gate/playbooks/docker-image-build.yaml index 6c308052..bf2c3f76 100644 --- a/tools/gate/playbooks/docker-image-build.yaml +++ b/tools/gate/playbooks/docker-image-build.yaml @@ -74,9 +74,11 @@ with_items: - docker-ce - python3-pip + - python3-setuptools - pip: name: docker version: 2.7.0 + executable: pip3 # NOTE(SamYaple): Allow all connections from containers to host so the # containers can access the http server for git and wheels - iptables: