From 8fb6ffa5c682e9c70ac7a7c6139b107faee4d882 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Thu, 12 Jul 2018 11:25:13 -0500 Subject: [PATCH] Install bindep from git source We'll be releasing a new bindep soon, but for now, install from source. Change-Id: I8e4a9b4928c573f726b7e1b5d8761cb945015754 --- pbrx/container_images.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pbrx/container_images.py b/pbrx/container_images.py index 2d5862a..3a6ccff 100755 --- a/pbrx/container_images.py +++ b/pbrx/container_images.py @@ -122,7 +122,13 @@ def build(args): log.info("Building bindep container") # Create bindep container with docker_container("python-base", tag="bindep") as cont: - cont.run("pip install bindep") + # TODO(mordred) Install from pip once bindep has a new release. + # Install from source for now, since apk support hasn't landed + cont.run("apk add git") + cont.run( + "pip install" + " git+https://git.openstack.org/openstack-infra/bindep.git" + "#egg=bindep") # Use bindep container to get list of packages needed in the final # container. It returns 1 if there are packages that need to be installed.