From patchwork Wed Aug 8 01:08:06 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: 954755 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 41lYDJ1dG7z9s82 for ; Wed, 8 Aug 2018 11:08:32 +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="U4LL931v"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="ElFciHQ5"; 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 41lYDH0gFmzDqmf for ; Wed, 8 Aug 2018 11:08:31 +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="U4LL931v"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="ElFciHQ5"; 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=64.147.123.25; helo=wout2-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="U4LL931v"; dkim=pass (2048-bit key; unprotected) header.d=messagingengine.com header.i=@messagingengine.com header.b="ElFciHQ5"; dkim-atps=neutral Received: from wout2-smtp.messagingengine.com (wout2-smtp.messagingengine.com [64.147.123.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 41lYD52RwmzDqC8 for ; Wed, 8 Aug 2018 11:08:20 +1000 (AEST) Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.west.internal (Postfix) with ESMTP id 8994A32E; Tue, 7 Aug 2018 21:08:14 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Tue, 07 Aug 2018 21:08:14 -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=GjpT4bCO1n3/hFnDH Ry8PFZoncmNZSWrXBe/C4paalw=; b=U4LL931vuGv8iWPLzG+FBfmkXoc1/8Ybm XjQ+LfwJOTcJ6VEvPk4SfHbCInkdAxgASWVxECKj5/IMd58xaMZrmoEZh2gL1F6d RWtXmNEn+IukJHYv4gqUVE+VJycxDYvWOY0fN1oqKbGeSk3mwogMNcqaCX4o0Tvj bhQtE1AOHsjeDpjMVp32Od9We0Id0Delssqg7rsrlkL29nIF98D3AFWNF/Oh6m3Y 3fXS7wP6vmBtzEzmRNs8f5ug5kGzRoV/RdqiFcudsRVST6K+wvatTIXndOFbWExD +DQYY8u/Wt3Iksep4XDU5+RV2r4OF2IgMeHq+2I4EFUNTwJMhLuBw== 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=GjpT4bCO1n3/hFnDH Ry8PFZoncmNZSWrXBe/C4paalw=; b=ElFciHQ5GAPu+BNc1n1RJbK7SMUinjn40 mjRz/y8ZgrIrrDgnd+2j59SoRibA9XbQgZTWIel9ftHCIXB+eziPvMWWCF72vMdq OPvLlUnlis/JPmIX9YiWAjOAIR0sfZws8fqSpYN6BMVQeatEAlyiE4v65/Q/DKm7 DfmJAJTv570r2vH0j+JMcpQWL5BlUTAx6rgiG3/cogknHKsuVeLvEG1XCIIMNytG DWn/f26RIVdeeQxeAHkdQUOwyqRBHcoiS1dfIrD5OnKXDzpw8tQ+ECNnZcOlQ+9Q YNlZg9RlVto77sptPxSvNZh25PfAQVHMcKQm6g2yTuCxE7Te/7KVg== 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 64B5EE442C; Tue, 7 Aug 2018 21:08:12 -0400 (EDT) From: Samuel Mendoza-Jonas To: petitboot@lists.ozlabs.org Subject: [PATCH] docker: Use host networking Date: Wed, 8 Aug 2018 11:08:06 +1000 Message-Id: <20180808010806.17780-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" Use the host driver by default to simplify networking for build-builder, especially when DNS settings need to be inherited from the host. Signed-off-by: Samuel Mendoza-Jonas --- docker/build-builder | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/build-builder b/docker/build-builder index c29e032a..8dcfba82 100755 --- a/docker/build-builder +++ b/docker/build-builder @@ -123,6 +123,7 @@ run_cmd "docker build \ --build-arg http_proxy=${http_proxy} \ --build-arg https_proxy=${https_proxy} \ --tag ${DOCKER_TAG} \ + --network=host \ ." show_tag