aboutsummaryrefslogtreecommitdiff
path: root/kolla/image
diff options
context:
space:
mode:
authorRabi Mishra <ramishra@redhat.com>2019-03-29 07:45:19 +0530
committerMark Goddard <mark@stackhpc.com>2019-04-03 08:27:45 +0000
commitfb4cb9efda5a522ba0d837047385b61275d09150 (patch)
tree7af84476e2d6a59c54f38a63a0e3eac9db6b3e69 /kolla/image
parent636fce475b7b1525f4ad353d2a0740f784d22aad (diff)
downloadkolla-fb4cb9efda5a522ba0d837047385b61275d09150.tar.gz
kolla-fb4cb9efda5a522ba0d837047385b61275d09150.zip
Add config option use_dumb_init to add it to container images
Usage of dumb-init can also be disabled from cli with `--nouse-dumb-init` when building images. Also moves ENTRYPOINT outside of dumb_init_installation block. Change-Id: Id32d54fc9913b83cf121ede5a5e265e0772062ae Related-Bug: #1821970
Diffstat (limited to 'kolla/image')
-rwxr-xr-xkolla/image/build.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolla/image/build.py b/kolla/image/build.py
index 7683d7904..8e7b546e3 100755
--- a/kolla/image/build.py
+++ b/kolla/image/build.py
@@ -681,6 +681,7 @@ class KollaWorker(object):
else:
self.namespace = conf.namespace
self.base = conf.base
+ self.use_dumb_init = conf.use_dumb_init
self.base_tag = conf.base_tag
self.install_type = conf.install_type
self.tag = conf.tag
@@ -926,6 +927,7 @@ class KollaWorker(object):
'base_image': self.conf.base_image,
'base_distro_tag': self.base_tag,
'base_arch': self.base_arch,
+ 'use_dumb_init': self.use_dumb_init,
'base_package_type': self.base_package_type,
'debian_arch': self.debian_arch,
'supported_distro_release': supported_distro_release,