From patchwork Thu Aug 2 01:03:32 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 952516 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41gsPn3sw0z9s3x for ; Thu, 2 Aug 2018 11:03:57 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="WoZ6Wf6i"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Zvrwy99S"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41gsPn2KJ4zF1pk for ; Thu, 2 Aug 2018 11:03:57 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="WoZ6Wf6i"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Zvrwy99S"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="WoZ6Wf6i"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="Zvrwy99S"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41gsPd5MTlzF14j for ; Thu, 2 Aug 2018 11:03:49 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id D135221B2A; Wed, 1 Aug 2018 21:03:46 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 01 Aug 2018 21:03:46 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ijpD/CoIEMVPUHN9E 3UMhb21Gxk704Q6a3SgLbwFlEg=; b=WoZ6Wf6i8a+IDt1u6udQME3zjj9ypiZVw 25KzjbrRmGrQb2c74fMS7lV8aVkZDyJhZwL9aJUud2LYMdsDksVBhJxoC8KqQe1h B4bgnORjwtlDHZFaptCKh0crnLTQPRC/+diz4vCpmqQ+tEeeG3tJbwGWnhbizyql lYnvRkZ0RMM3Q8XRXMiRS0XbAlwycwEYFE2IbbRft28EMB/9TG40QA18P+BREIhu V4Fegw7KY0c9VK3vk+rmuWUNGUhtlL4HL3v04lkSn3tp61PUUMNZp7olU2Pemqs6 cZbCwKNjx3mI28b6d8sqbWSGdQsFNPs2azcTqT3caKQZZHqEnu+ZA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:message-id:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=ijpD/CoIEMVPUHN9E 3UMhb21Gxk704Q6a3SgLbwFlEg=; b=Zvrwy99SSHsmSrpnuOFCcW4U1DBxLjZEh 0qwezt0nHb3r300r/Yk4/F5o7jflBbHHvPcmjcOXZV8NZ7+fRgmIuSSh/7hq2qUJ sWtkjx0zwK+/dKYaxkqHfjlo3t3mSvdx5NQX03Gggn33p7imMNEhtD5RxTZpnIVt hOba85c/gdnFC2SIuVhlheP9SlS+1djC3J7ud43RCjPWreYoU5MoNeyqHBvqIy9m hXae6ZWlk1z/rlGME6arty2q8RF5ZJ6t8qeXQQ2bgAsKA9P3S0dC77jSWOE5M2mi LIoBxErq23dF/NVLPOpi4sDA4LpAayFlodL1PArBca+oLrVEeZ3ww== X-ME-Proxy: X-ME-Sender: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 2455B10261; Wed, 1 Aug 2018 21:03:44 -0400 (EDT) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH v2 1/3] docker: Add signed boot dependencies Date: Thu, 2 Aug 2018 11:03:32 +1000 Message-Id: <20180802010334.28764-1-sam@mendozajonas.com> X-Mailer: git-send-email 2.18.0 X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Samuel Mendoza-Jonas --- docker/Dockerfile.builder | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/Dockerfile.builder b/docker/Dockerfile.builder index b4e3827..dce5e1f 100644 --- a/docker/Dockerfile.builder +++ b/docker/Dockerfile.builder @@ -20,6 +20,8 @@ RUN apt-get update && apt-get install -y \ libuv-dev \ libdevmapper-dev \ libncurses-dev \ + libgpgme11-dev \ + libssl-dev \ pkg-config \ && rm -rf /var/lib/apt/lists/* From patchwork Thu Aug 2 01:03:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 952517 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41gsPy1tCDz9s3q for ; Thu, 2 Aug 2018 11:04:06 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="bfDsyidP"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="NlWeUNhN"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41gsPy01BgzF1RB for ; Thu, 2 Aug 2018 11:04:06 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="bfDsyidP"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="NlWeUNhN"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="bfDsyidP"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="NlWeUNhN"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41gsPf4Qq1zF14j for ; Thu, 2 Aug 2018 11:03:50 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 2F5ED21E31; Wed, 1 Aug 2018 21:03:48 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 01 Aug 2018 21:03:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=cuMOeYKaeM4KMjbC/d2w84x7KRuKjHonfzKWCL63gF8=; b=bfDsyidP RKdqPC63oWyVFi3RJsvOZn4XnNPF2jSXgpxk5aMCJNAyg09/9j/Kfipgm0i8CxAb d8xrNmWaMCceL1wEziPPC2b5EE4uzhgCAwPMe0Ja9iM7mi8NstI4R8qL4sUw4tZD IHqGUBWg7zj17zeytmR4vCD4dJGS2yqiHqVljyviyeAXl/iBftrm38Xns1z98duI PxPLOXsEsKJuUV8P6rgL4tLmzfMUKiZjjewZkr/d948D6E5QRF8totBFthJM8eGF elzX4ZKbSRxoQMnOm+IyJ73VV78Ol8wQfAjEgBqhwMvnFUIp00aRAuHI1dgtW+PD hba5x3iAZTv4jA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=cuMOeYKaeM4KMjbC/d2w84x7KRuKjHonfzKWCL63gF8=; b=NlWeUNhN xydwOX7YwJAEfHk390DiD4YFUYnoN3zKYi4mR/dit3CT5F3zo4t1VE/f2QKnenIJ XeECmdbyk8y2ZfsysDPAtyAQwlyRSDmEDGHrWxuHGDwlwRZhaHxP4DKfJ7EX+Ed0 pmtzCLhYJRGgyZ3T/8qZ88yAbAh2ajE49iEG9ASi7d57ASMtQ31/dFfEXHZ8x20t tBpaX8Kq30wDHC18zNxm1zNQTlRNx3yJ7ootgam9QVpo0Yykwu51RXBe2jhtbdlb 9Ccna14BIFOR2Wr7daVPX+1tY8clpFvKqpnsT7Y904L6OSHqUd3XO6CXb0EOnBBw A1lfTpDCShnKzQ== X-ME-Proxy: X-ME-Sender: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id BFA2A10279; Wed, 1 Aug 2018 21:03:46 -0400 (EDT) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH v2 2/3] docker: Pass proxy variables to docker build Date: Thu, 2 Aug 2018 11:03:33 +1000 Message-Id: <20180802010334.28764-2-sam@mendozajonas.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180802010334.28764-1-sam@mendozajonas.com> References: <20180802010334.28764-1-sam@mendozajonas.com> X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Signed-off-by: Samuel Mendoza-Jonas --- docker/build-builder | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docker/build-builder b/docker/build-builder index 04603ad..c29e032 100755 --- a/docker/build-builder +++ b/docker/build-builder @@ -120,6 +120,8 @@ cd ${TOP_DIR} run_cmd "docker build \ --file "${DOCKER_FILE}" \ --build-arg DOCKER_FROM=${DOCKER_FROM} \ + --build-arg http_proxy=${http_proxy} \ + --build-arg https_proxy=${https_proxy} \ --tag ${DOCKER_TAG} \ ." From patchwork Thu Aug 2 01:03:34 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sam Mendoza-Jonas X-Patchwork-Id: 952518 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.ozlabs.org (lists.ozlabs.org [203.11.71.2]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41gsQ62PGKz9s3q for ; Thu, 2 Aug 2018 11:04:14 +1000 (AEST) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="UigypEDA"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="nC7qcOEh"; dkim-atps=neutral Received: from lists.ozlabs.org (lists.ozlabs.org [IPv6:2401:3900:2:1::3]) by lists.ozlabs.org (Postfix) with ESMTP id 41gsQ60qNfzF1mc for ; Thu, 2 Aug 2018 11:04:14 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="UigypEDA"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="nC7qcOEh"; dkim-atps=neutral X-Original-To: petitboot@lists.ozlabs.org Delivered-To: petitboot@lists.ozlabs.org Authentication-Results: lists.ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=mendozajonas.com (client-ip=66.111.4.25; helo=out1-smtp.messagingengine.com; envelope-from=sam@mendozajonas.com; receiver=) Authentication-Results: lists.ozlabs.org; dmarc=none (p=none dis=none) header.from=mendozajonas.com Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=mendozajonas.com header.i=@mendozajonas.com header.b="UigypEDA"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="nC7qcOEh"; dkim-atps=neutral Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41gsPh2PS2zF1Qn for ; Thu, 2 Aug 2018 11:03:52 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B2BEC21DEC; Wed, 1 Aug 2018 21:03:49 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Wed, 01 Aug 2018 21:03:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= mendozajonas.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=mx5bMsaysZVKKfysOnNFx483Sn9aIPOhCkccRzFdrEw=; b=UigypEDA yMa3g7SlhVWw3cQBCWmzRN84+0ZGV2GhOjIizwEdEfMh10DsOjx5gc5H4mvacoKl gAeJSEW9uKOSorbabcMMmMhWDToN2yUFIkiX/EJO6sFyysPrmgAHOwlLCl0wDwWK Pm63CJXxvBR3qRMEflZ64MIj0M4kZeArDX6L/zeUg/TcYOeIRHyN+D8JlI03+LUt riQKZj9agIX5x6Vzzsp4wsht1frbU9zPDTSYvNY1q8pFnUZOHiKplpuyljYdPjL2 ysdXko7u8GOgFq7z9JKNW6DESpp51D1fWQgnF0LATED7wq2xvTH2p1CTiqnnyKG/ kyTN3eDZmMKGHA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; bh=mx5bMsaysZVKKfysOnNFx483Sn9aIPOhCkccRzFdrEw=; b=nC7qcOEh dNL/vqmePRMV1aYr3z9YsJK9sn+mkpSWr2Jka7at014zVyECfOVyKMHaev2U+PBG A7OIOl9qeW43ZcZqvSMBxtAcnBaUVtDOF/+Dikavi3e1akUIhSufxymdKLFfjdQq EvO5azkxS5h+Eg68+T4Utsj20lXIdS0DLTZNjlm9h7j/swrrQJZP6TXvbGgPnldj Ia8KtrXxWU0ufycJ3XaH/hweUuMJhoRy5gwj16gbu+pE3RCvr3BuH6LttuqBEWzQ FWzEUa5R02mZvlgubV4m9c/swGWrh4dE5YpgoTJYeB73K2d7pwuDBPuQLATxhPIn KiEzQhmBSo+2Mw== X-ME-Proxy: X-ME-Sender: Received: from v4.ozlabs.ibm.com (unknown [122.99.82.10]) by mail.messagingengine.com (Postfix) with ESMTPA id 6568710279; Wed, 1 Aug 2018 21:03:48 -0400 (EDT) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH v2 3/3] docker: Pass extra options to configure Date: Thu, 2 Aug 2018 11:03:34 +1000 Message-Id: <20180802010334.28764-3-sam@mendozajonas.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180802010334.28764-1-sam@mendozajonas.com> References: <20180802010334.28764-1-sam@mendozajonas.com> X-BeenThere: petitboot@lists.ozlabs.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Petitboot bootloader development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Samuel Mendoza-Jonas MIME-Version: 1.0 Errors-To: petitboot-bounces+incoming=patchwork.ozlabs.org@lists.ozlabs.org Sender: "Petitboot" Pass extra configure options and CFLAGS/LDFLAGS to docker to enable building multiple configurations. Signed-off-by: Samuel Mendoza-Jonas --- docker/build-pb | 30 ++++++++++++++++++++---------- 1 file changed, 20 insertions(+), 10 deletions(-) diff --git a/docker/build-pb b/docker/build-pb index ad08ef9..6ed2af6 100755 --- a/docker/build-pb +++ b/docker/build-pb @@ -12,21 +12,24 @@ usage () { echo "${name} - Builds the petitboot programs using a pb-builder container." >&2 echo "Usage: ${name} [flags]" >&2 echo "Option flags:" >&2 - echo " -c --check - Run 'make check'." >&2 - echo " -d --dry-run - Do not run docker commands." >&2 - echo " -h --help - Show this help and exit." >&2 - echo " -i --interactive - Run an interactive pb-builder container." >&2 - echo " -t --tag - Print Docker tag to stdout and exit." >&2 - echo " -v --verbose - Verbose execution." >&2 + echo " -c --check - Run 'make check'." >&2 + echo " -d --dry-run - Do not run docker commands." >&2 + echo " -h --help - Show this help and exit." >&2 + echo " -i --interactive - Run an interactive pb-builder container." >&2 + echo " -o --configure-opts - Extra arguments for configure." >&2 + echo " -t --tag - Print Docker tag to stdout and exit." >&2 + echo " -v --verbose - Verbose execution." >&2 echo "Environment:" >&2 - echo " DOCKER_TAG - Default: '${DOCKER_TAG}'" >&2 + echo " DOCKER_TAG - Default: '${DOCKER_TAG}'" >&2 + echo " CFLAGS - Default: '${CFLAGS}'" >&2 + echo " LDFLAGS - Default: '${LDFLAGS}'" >&2 echo "Examples:" >&2 echo " ${name} -vc" echo " ${name} -v" } -short_opts="cdhitv" -long_opts="check,dry-run,help,interactive,tag,verbose" +short_opts="cdhio:tv" +long_opts="check,dry-run,help,interactive,configure-opts:,tag,verbose" opts=$(getopt --options ${short_opts} --long ${long_opts} -n "${name}" -- "$@") @@ -55,6 +58,11 @@ while true ; do interactive=1 shift ;; + -o | --configure-opts) + shift + configure_opts=${1} + shift + ;; -t | --tag) tag=1 shift @@ -112,8 +120,10 @@ else docker_extra="true" fi +flags="CFLAGS=${CFLAGS} LDFLAGS=${LDFLAGS}" + cd "${TOP_DIR}" docker_args="${docker_base_args} ${docker_user_args}" run_cmd "docker run ${docker_args} ${DOCKER_TAG} /bin/bash \ -e ${bash_debug} \ - -c './bootstrap && ./configure --with-ncurses && make && ${docker_extra}'" + -c './bootstrap && ${flags} ./configure ${configure_opts[@]} && make && ${docker_extra}'"