Install bindep from git source

We'll be releasing a new bindep soon, but for now, install from source.

Change-Id: I8e4a9b4928c573f726b7e1b5d8761cb945015754
This commit is contained in:
Monty Taylor 2018-07-12 11:25:13 -05:00
parent 5fb2fb69d1
commit 8fb6ffa5c6
No known key found for this signature in database
GPG Key ID: 7BAE94BC7141A594
1 changed files with 7 additions and 1 deletions

View File

@ -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.