Expose the docker build_arg to build.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Expired
|
Wishlist
|
Unassigned |
Bug Description
https:/
Dear bug triager. This bug was created since a commit was marked with DOCIMPACT.
Your project "openstack/kolla" is set up so that we directly report the documentation bugs against it. If this needs changing, the docimpact-group option needs to be added for the project. You can ask the OpenStack infra team (#openstack-infra on freenode) for help if you need to.
commit 7093d37f1825182
Author: Jeffrey Zhang <email address hidden>
Date: Fri Jan 8 10:13:39 2016 +0800
Expose the docker build_arg to build.py
With this implement, we can add variables at building stage.
For example, add HTTP_PROXY and NO_PROXY when needed like below.
build.py --build-args \
More info about build_arg, pls check[0]
[0] https:/
DocImpact
Implements: bp add-buildargs
Change-Id: I29ed7f536670fe
Changed in kolla: | |
status: | New → Confirmed |
tags: | added: doc |
Changed in kolla: | |
importance: | Undecided → Wishlist |
milestone: | none → newton-1 |
tags: |
added: docimpact removed: doc kolla |
Changed in kolla: | |
milestone: | newton-1 → newton-2 |
Changed in kolla: | |
milestone: | newton-2 → newton-3 |
tags: |
added: doc removed: docimpact |
Changed in kolla: | |
milestone: | newton-3 → newton-rc1 |
Changed in kolla: | |
milestone: | newton-rc1 → occata-1 |
Changed in kolla: | |
milestone: | ocata-1 → ocata-2 |
Changed in kolla: | |
milestone: | ocata-2 → ocata-3 |
Changed in kolla: | |
status: | Confirmed → Incomplete |
milestone: | ocata-3 → none |
My latest build image command fails due to this commit.
/root/developme nt/kolla/ tools/build. py openstack-base nt/kolla/ docker main__: base:Building python2. 7/threading. py", line 810, in __bootstrap_inner development/ kolla/tools/ build.py" , line 146, in run builder( image) development/ kolla/tools/ build.py" , line 270, in builder self.conf. build_args) :
INFO:__main__:Found the docker image folder at /root/developme
INFO:__
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/
self.run()
File "/root/
self.
File "/root/
buildargs=
TypeError: build() got an unexpected keyword argument 'buildargs'