From: Christian Stewart Date: Wed, 20 Sep 2017 04:02:05 +0100 Subject: [Buildroot] [PATCH 4/9] docker-engine: select static for tini and dumb-init In-Reply-To: <20170920030210.19446-1-christian@paral.in> References: <20170920030210.19446-1-christian@paral.in> Message-ID: <20170920030210.19446-5-christian@paral.in> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net In many cases docker-init backing processes like Tini and dumb-init must be static, as they are executed inside a container in an unknown environment. This patch selects the static compilation options on both packages when used as docker-init backing processes. Signed-off-by: Christian Stewart --- package/docker-engine/Config.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/docker-engine/Config.in b/package/docker-engine/Config.in index 7d9a87f7bb..47ac7f57a3 100644 --- a/package/docker-engine/Config.in +++ b/package/docker-engine/Config.in @@ -44,6 +44,7 @@ choice config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI bool "tini" select BR2_PACKAGE_TINI + select BR2_PACKAGE_TINI_STATIC help Use Tini as the container init process. @@ -52,6 +53,7 @@ config BR2_PACKAGE_DOCKER_ENGINE_INIT_TINI config BR2_PACKAGE_DOCKER_ENGINE_INIT_DUMB_INIT bool "dumb-init" select BR2_PACKAGE_DUMB_INIT + select BR2_PACKAGE_DUMB_INIT_STATIC help Use dumb-init as the container init process. -- 2.13.5